Re: XML Schema for XInclude

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 UTC