- From: John Boyer <jboyer@PureEdge.com>
- Date: Mon, 6 Nov 2000 08:52:44 -0800
- To: "Gregor Karlinger" <gregor.karlinger@iaik.at>, "Joseph M. Reagle Jr." <reagle@w3.org>, "IETF/W3C XML-DSig WG" <w3c-ietf-xmldsig@w3.org>
Hi Gregor, The role of a parser is only to crack a file into tokens and to identify what those tokens are. Optionally, a parse tree can be built. A non-validating XML parser must identify ID attributes as being ID attributes (whenever it can), in such a parse tree (or in the input token stream if a parse tree is not built). An application that uses an XML parser may choose to discard that information if the application requirements do not identify a need for the information, but this is outside of the scope of the XML parser specification. The information is provided by the parser should it be needed. Thanks, John Boyer Development Team Leader, Distributed Processing and XML PureEdge Solutions Inc. Creating Binding E-Commerce v: 250-479-8334, ext. 143 f: 250-479-3772 1-888-517-2675 http://www.PureEdge.com <http://www.pureedge.com/> -----Original Message----- From: Gregor Karlinger [mailto:gregor.karlinger@iaik.at] Sent: Sunday, November 05, 2000 11:20 PM To: John Boyer; Joseph M. Reagle Jr.; IETF/W3C XML-DSig WG Subject: AW: Call for Implementation: Canonical XML Becomes a W3C Candidate Recommendation Hi John, > Yes, non-validating parsers are supposed to recognize the types of > attributes, unless they have been unable to read the declaration (e.g. due > to external declaration), but c14n covers this too by requiring > that such a > processor be augmented to read the attribute types so that it can > normalize > attributes as if it were a validating processor. That a non validating parser is required to normalize the attribute values is ok. This is explicitley mentioned in XML 1.0 (Second Edition). What I am not so sure about is, if a non-validating parser must support structures which enable the application to select elements by the values of ID attributes. Regards, Gregor --------------------------------------------------------------- Gregor Karlinger mailto:gregor.karlinger@iaik.at http://www.iaik.at Phone +43 316 873 5541 Institute for Applied Information Processing and Communications Austria ---------------------------------------------------------------
Received on Monday, 6 November 2000 11:52:59 UTC