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

Re: Where things stand with SAX


michael l. sax

----- Original Message ----- 
From: "Jeff Rafter" <lists@j...>
To: <xml-dev@l...>; <sax-devel@l...>
Sent: Wednesday, February 25, 2004 4:22 PM

> 4) Adding the http://xml.org/sax/features/unicode-normalization-checking
> feature. Seems this was agreed on and was okay-- in the XMLReader not the
> XMLReaderFactory. Some comments were made about revising this in the future
> and adding features to the factory-- but it seemed to be the consensus that
> this could wait for another revision. The biggest question remains follows
> the reporting of normalization failure.

I think one can already use the factory to load different parsers
- based on their features - from the same "implementer" by using
different classnames. (I believe you mentioned AElfred2 as an example)

 
> Michael Glavassevich brought up several great points off list, including
> this comment about the reported version:
> 
> "I imagine things aren't going to change much but I feel like Locator2
> should only report the 'effective' version for the entity. This is the
> same as the version for the document entity. This interface was added to
> support the version and character encoding scheme properties of document
> information items in the infoset. The version and encoding of other
> entities are not part of the infoset." ... and ... "the XML version of the
> document entity matters. This is the authorative version for the document
> and every entity that it references. The version label for external
> entities is in the same category of non-information items such as
> attribute order, top-level whitespace and the kind of quotes used for
> attribute values. At least there's some value in reporting CDATA section
> boundaries and entity boundaries, but I don't see anything you can do with
> the XML version from a TextDecl."

I would say, reporting the "effective" version for an entity
does not add any information, only removes potentially useful information.

The application already knows the "effective" version from the document
entity's version, so reporting it again and again does not add anything.
However, if an error is encountered it might be useful to know if the
error could be due to an entity's conformance to a different version of XML.

Karl

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.