- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 13 Jun 2001 09:45:54 +0100
- To: "Gregor Karlinger" <gregor.karlinger@iaik.at>
- Cc: "XMLSigWG" <w3c-ietf-xmldsig@w3.org>
"Gregor Karlinger" <gregor.karlinger@iaik.at> writes:
> Henry,
>
> > I'm actually confused about this -- are you saying all _other_ parts
> > of the XML Sig schema use only string/'preserve' attributes and
> > elements? It's certainly true that schema-aware processing does not
> > preserve whitespace information, but that's true of DTD-aware
> > processing as well, in lots of ways . . .
>
> A parser MUST report any whitespace to the application as
> it has been detected in the parsed XML, according to XML 1.0:
>
> "An XML processor must always pass all characters in a document
> that are not markup through to the application. A validating
> XML processor must also inform the application which of these
> characters constitute white space appearing in element content." [1]
>
> Therefore I cannot share your concerns regarding DTD aware processing.
Attribute value whitespace is considered markup. Attribute value
normalization always takes place, even in the absence of DTDs [1]
Schema processing simply extends the same approach to element content.
ht
[1] http://www.w3.org/TR/REC-xml#AVNormalize
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
Received on Wednesday, 13 June 2001 04:46:36 UTC