[xquery-talk] DTD Namespaces?
mhk at mhk.me.uk
Fri Nov 4 18:02:18 PST 2005
> If you include a DTD in a document being queried by an XQuery
> does this provide any typing information? My guess is that it
> does not,
> as the typing information comes from the PSVI and I don't believe
> anybody has ever specified how to construct a PSVI from a
> document + DTD.
Correct, at one stage the DTD attribute types were mapped to XML schema
types but we abandoned that for XSLT backwards compatibility reasons.
However, the fact that an attribute is an ID/IDREF gets recorded in the data
model and is used by the id() and idref() functions.
More information about the talk