<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi ...!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vxml_test.vxml</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><?xml version="1.0"
encoding="UTF-8"?><BR><vxml xmlns="<A
href="http://www.w3.org/2001/vxml">http://www.w3.org/2001/vxml</A>"
version="2.1"></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></vxml></FONT></DIV>
<DIV><FONT face=Arial
size=2>----------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Just try to parse the above vxml_test.vxml (3
line), with vxml.dtd from <A
href="http://www.w3.org/TR/voicexml21/vxml.dtd"><FONT face="Times New Roman"
size=3>http://www.w3.org/TR/voicexml21/vxml.dtd</FONT></A><FONT
face="Times New Roman" size=3> </FONT></FONT><FONT face=Arial size=2>as
xmerl_scan:file("vxml_test.vxml",[{validation,true},{doctype_DTD,
"vxml.dtd"}]).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Question:</FONT></DIV>
<DIV><FONT face=Arial size=2>1.) {error,{whitespace_was_expected}} - what means
this ???</FONT><FONT face=Arial size=2> 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 ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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
???</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>3.) Also I think the Line numbers shown
incorrectly???</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2>Below the complete error I have got</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>67>
xmerl_scan:file("vxml_test.vxml",[{validation,true},{doctype_DTD,
"vxml.dtd"}]). <BR>3690- fatal: {error,{whitespace_was_expected}}<BR>**
exited:
{fatal,{{error,{whitespace_was_expected}},<BR>
{file,"./vxml.dtd"},<BR>
{line,109},<BR>
{col,30}}} **<BR>68> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV></BODY></HTML>