logo       

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

java.enhydra.xmlc

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

Yes, I just tried it out and it works!

Thanks.

-Justin

On 8/25/05, Jacob Kjome <hoju@xxxxxxxx> wrote:
> At 08:23 AM 7/28/2005 -0700, you wrote:
> >OK, I'll see if I can get it tested out here soon.
> >
>
> Was a month long enough for testing? Have you tried it out yet? Did it
> work for you? I'd like some verification so that I know that the fix was
> correct.
>
> Jake
>
>
> >-Justin
> >
> >On 7/27/05, Jacob Kjome <hoju@xxxxxxxx> wrote:
> >>
> >> It looks like their DTD is invalid. Here's the offending declaration...
> >>
> >> <!ATTLIST pre
> >> xml:space CDATA #FIXED "preserve"
> >> %coreattrs;
> >> >
> >>
> >> Here's what it should be..
> >>
> >> <!ATTLIST pre
> >> xml:space (default|preserve) 'preserve'
> >> %coreattrs;
> >> >
> >> OR (probably more to what they were trying to get at)
> >> <!ATTLIST pre
> >> xml:space (preserve) #FIXED 'preserve'
> >> %coreattrs;
> >> >
> >>
> >> See:
> >> http://www.w3.org/XML/xml-19980210-errata#E81
> >> http://www.w3.org/TR/2000/REC-xml-20001006#sec-white-space
> >> http://www.javacommerce.com/displaypage.jsp?name=whitespa.sql&id=18238
> >>
> >> It's the CDATA that's incorrect. I've modified this in the local copy
> >> distributed with XMLC (just checked in). Can you try it out?
> >>
> >>
> >> Jake
> >>
> >> At 03:40 PM 7/27/2005 -0500, you wrote:
> >> >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
> >>
> >>
> >>
> >>
> >>
> >> --
> >> 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
> >>
> >>
> >>
> >
> >
> >--
> >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
>
>
>
>
>
> --
> 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
>
>
>


--
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