[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: [dsdl-comment] Re: DSDL: use cases: namespace declarat


validation dtds


Ronald Bourret wrote:
> 
> james anderson wrote:
> > Is it more of a conceptual challenge to add an attribute declaration
> > to the internal subset than it is to add a global namespace
> > declaration to the internal subset?
> 
> Yes, especially since you might need to add more than one.
> 
> (Why do you say internal subset here? Validation DTDs are external.)

John Cowan wrote:
> 
> james anderson scripsit:
> 
> > Is it more of a conceptual challenge to add an attribute declaration to the internal subset than it is to add a global namespace
> > declaration to the internal subset? The only difference is that the attribute declaration rquires that one must determine the
> > "root" element. I would have thought one needed to make that decision in order to encode the internal subset.
> 
> I don't understand this talk of internal subsets.  I am talking about
> validation DTDs (or "bags of declarations" if you prefer), which are
> external by definition.

I'm uncertain how DSDL wishes to incorporate these DTD's, but had presumed that a document type declaration (that is a DOCTYPE
form) would (at least) not be precluded. Should external subsets only be permitted, then my observation applies to the
"framework" entity which comprises the others by reference. Any "bag of declarations" is going to be encoded in a tree of
physical entities. This "framework" entity is the root of this tree.

> 
> > The only difference is that the attribute declaration r[e]quires that
> > one must determine the "root" element.
> 
> But this might not be known. If you know what your document looks like,
> it is known, but you can also define vocabularies from which any element
> can be the root (less likely) or from which any element or attribute can
> be reused in another vocabulary (much more likely). The only solution
> for such vocabularies is to add namespace attribute declarations to all
> element type declarations.
> 

This last claim is false. One need add declarations for only those elements which appear at the root(s) of a partial order.
These need not be the same elements as the root element.

...

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.