logo       

Re: [xmlc] Problem using WML 1.3 DTD: msg#00014

java.enhydra.xmlc

Subject: Re: [xmlc] Problem using WML 1.3 DTD

Since we don't store the WML 1.3 dtd local (only the 1.1 dtd), XMLC should be
downloading a validating against the dtd you are specifying. To double check
this, try going offline and try to compile. It should fail saying it can't
access the DTD. If not, then something weird is going on. If so, then it is
possible that XMLC's version of Xerces (1.4.4, I think) doesn't understand the
DTD. I can try it when i get home. I can also add the 1.3 dtd to 2.2.7 so
that compiles can occur without being connected to the internet.

Jake

Quoting Justin Akehurst <akehurst@xxxxxxxxx>:

> I am trying to compile this WML document, with XMLC 2.2.7 pre-release
> (built from HEAD)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
> "http://www.wapforum.org/DTD/wml13.dtd";>
> <wml>
> <card title="Tone Content List">
> <p id="toneContentList">
> <a href="" id="toneLink">Tone Description</a><br id="br"/>
> <a class="mockup" href="">Tone 1</a><br class="mockup"/>
> <a class="mockup" href="">Tone 2</a>
> </p>
> </card>
> </wml>
>
> I get this error:
>
> org.xml.sax.SAXException: Stopping after fatal error: The attribute
> declaration for "xml:space" must be given as an enumerated type whose
> only possible values are "default" and "preserve".
>
> If I validate the document against the DTD by hand, it validates cleanly.
>
> Is there a way I can use the wml1.3 dtd with XMLC?
>
> -Justin
>
>





--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise