[xquery-talk] DTD Namespaces?

Ronald Bourret rpbourret at rpbourret.com
Fri Nov 4 09:54:01 PST 2005


For a discussion about how to use namespaces with DTDs and what some of 
the potential pitfalls are, see:

    http://www.rpbourret.com/xml/NamespacesFAQ.htm#s7

One question about DTDs and XQuery:

If you include a DTD in a document being queried by an XQuery processor, 
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.

-- Ron

Frank Cohen wrote:
> I'm supporting an engineer who is doing an evaluation of TigerLogic.  
> They are using DTD's that include namespaces. It seems to me that if  
> you need namespaces you should be using XML Schema instead. I haven't  
> found anything in the XQuery specs about DTD's with namespaces. Does  
> anyone have opinions either pro-or-con about using namespaces in a DTD?
> 
> -Frank



More information about the talk mailing list