xmerl - Line Numbers ?? whitespace_was_expected

Sanjaya Vitharana sanjaya@REDACTED
Fri Feb 17 11:36:54 CET 2006


Hi ...!!!

vxml_test.vxml

<?xml version="1.0" encoding="UTF-8"?>
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.1">

</vxml>
----------------------------------------
Just try to parse the above vxml_test.vxml (3 line), with vxml.dtd from http://www.w3.org/TR/voicexml21/vxml.dtd  as xmerl_scan:file("vxml_test.vxml",[{validation,true},{doctype_DTD, "vxml.dtd"}]).

Question:
1.) {error,{whitespace_was_expected}} - what means this ??? I can't see anythig wrong in line 109 as shown by the xmerl_scan. Also can be there any errors after W3C pepole publised it ?

2.) But with commenting "<!ATTLIST choice" (Line 119-126)  error was moved to the {line,165}. That means something wrong/unsupported within the above lines. Can anyone explane this ???

3.) Also I think the Line numbers shown incorrectly???


Below the complete error I have got

67> xmerl_scan:file("vxml_test.vxml",[{validation,true},{doctype_DTD, "vxml.dtd"}]).  
3690- fatal: {error,{whitespace_was_expected}}
** exited: {fatal,{{error,{whitespace_was_expected}},
                   {file,"./vxml.dtd"},
                   {line,109},
                   {col,30}}} **
68> 


Thanks in advance

Sanjaya Vitharana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060217/3dbdecce/attachment.htm>


More information about the erlang-questions mailing list