W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > March 2002

Re: XML Schema for XInclude

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 13 Mar 2002 09:25:08 +0000
Message-ID: <1204054960.20020313092508@jenitennison.com>
To: "Jonathan Marsh" <jmarsh@microsoft.com>
CC: www-xml-xinclude-comments@w3.org
Hi Jonathan,

> As far as whitespace normalization using xs:token, I don't think
> that's a good idea. The XInclude processor looks for the strings
> "text" and "xml", and any whitespace will cause it to fail. If
> xs:token encouraged someone to put whitespace in there, inclusion
> would only work when the schema was applied and performed
> normalization. I think it is a better description of the inputs of
> the XInclude processor to not allow any whitespace.

I don't think that the fact that XInclude processors don't normalize
the value of the parse attribute is made explicit anywhere in the
spec, but OK. Bear in mind that describing parse as an enumerated
attribute in the DTD has the same implications regarding whitespace as
basing its value on xs:token in the schema.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Wednesday, 13 March 2002 07:17:18 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:08 GMT