Re: [xmlc] Problem using WML 1.3 DTD
Justin Akehurst <[email protected]> Fri, 26 Aug 2005 16:51:58 -0700
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1125100362-3007-314 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes, I just tried it out and it works! Thanks. -Justin On 8/25/05, Jacob Kjome <[email protected]> wrote: > At 08:23 AM 7/28/2005 -0700, you wrote: > >OK, I'll see if I can get it tested out here soon. > > >=20 > 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. >=20 > Jake >=20 >=20 > >-Justin > > > >On 7/27/05, Jacob Kjome <[email protected]> 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=3Dwhitespa.sql&id=3D= 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 do= uble > >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 <[email protected]>: > >> > > >> >> I am trying to compile this WML document, with XMLC 2.2.7 pre-rel= ease > >> >> (built from HEAD) > >> >> > >> >> <?xml version=3D"1.0" encoding=3D"UTF-8"?> > >> >> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" > >> >> "http://www.wapforum.org/DTD/wml13.dtd"> > >> >> <wml> > >> >> <card title=3D"Tone Content List"> > >> >> <p id=3D"toneContentList"> > >> >> <a href=3D"" id=3D"toneLink">Tone Description</a><br id= =3D"br"/> > >> >> <a class=3D"mockup" href=3D"">Tone 1</a><br class=3D"mock= up"/> > >> >> <a class=3D"mockup" href=3D"">Tone 2</a> > >> >> </p> > >> >> </card> > >> >> </wml> > >> >> > >> >> I get this error: > >> >> > >> >> org.xml.sax.SAXException: Stopping after fatal error: The attribu= te > >> >> declaration for "xml:space" must be given as an enumerated type w= hose > >> >> 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 [email protected] > mailing > >> >list. > >> >To unsubscribe: mailto:[email protected] > >> >For general help: mailto:[email protected]?subject=3Dhelp > >> >ObjectWeb mailing lists service home page: http://www.objectweb.org= /wws > >> > >> > >> > >> > >> > >> -- > >> You receive this message as a subscriber of the [email protected] ma= iling > >list. > >> To unsubscribe: mailto:[email protected] > >> For general help: mailto:[email protected]?subject=3Dhelp > >> ObjectWeb mailing lists service home page: http://www.objectweb.org/w= ws > >> > >> > >> > > > > > >-- > >You receive this message as a subscriber of the [email protected] mail= ing > >list. > >To unsubscribe: mailto:[email protected] > >For general help: mailto:[email protected]?subject=3Dhelp > >ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >=20 >=20 >=20 >=20 >=20 > -- > You receive this message as a subscriber of the [email protected] mailin= g list. > To unsubscribe: mailto:[email protected] > For general help: mailto:[email protected]?subject=3Dhelp > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >=20 >=20 > ------------=_1125100362-3007-314 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ------------=_1125100362-3007-314--