OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] The J2ME pseudo-XML botch

[ Lists Home | Date Index | Thread Index ]


Following paragraph from the proposed J2ME Web Services spec explains why
they violated the XML spe.  While I might disagree with their solution to
the problem described below, I think their solution is understandable at



The reasoning for this change of behavior on the J2ME platform is clearly
described in the XML Specification Section 5.2 (Using XML Processors). When
a non-validating processor ignores a DTD reference, it may not normalize
attribute values or supply default values. Therefore, application code which
utilizes a non-validating parser to process certain XML may report different
results than application code which utilizes a validating parser.

In favor of predictability, this specification has chosen to explicitly
disallow DTD references in XML data processed by its non-validating parsers.
The goal is to avoid unexpected and hard-to-find application errors when the
same XML data is used between a J2SE JAXP application and a J2ME JAXP


I think it is best to talk them into considering other solutions that
conform to the XML spec.


Don Park


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS