[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: The J2ME pseudo-XML botch


reasoning j2me
Tim,

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

http://java.sun.com/webapps/download/Redirect/27345207/584747937728280769936
0338623280529334647200535052869333232460841471293863369027272288602354102902
80772861345192841085902786058473206-6381/j2me_web_services-1_0-prd-spec.pdf

--

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

--

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

Best,

Don Park
Docuverse



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.