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

Re: [dsdl-comment] Re: DSDL part 9: new namespace declarations


Re: [dsdl-comment] Re:  DSDL part 9: new namespace declarations


John Cowan wrote:
> 
> james anderson scripsit:
> 
> > In whatever grade of esteem one may hold the Namespaces in XML
> > recommentation, it specifies that a conforming document may contain
> > lexically identical qualified names which identify more than one universal
> > name depending on context as well as lexically distinct qualified names
> > which identify the same universal name - the synonymy/homography issue.
> >
> > If DSDL chooses to ratify a namespace declaration form which exhibits
> > indefinite scope, it must also either specify that such documents are
> > non-conformant, or specify that such documents are not permitted to
> > depend on attribute default values for namespace declarations, but must
> > include all namespace declarations in the document entity.
> 
> More precisely: documents may not depend on attribute defaulting information
> *in the validation DTD* to supply namespace declarations.

Could you describe the distinctions among DTD classes. That is, between the "validation" and the "native" DTD? Are there perhaps
documents which might be made available under the public section of dsdl.org which might provide background on the larger
validation framework?

>                                                           This suits me:
> attribute defaulting is the proper business of the native (DOCTYPE) DTD.
> When a document has been parsed, all information is already in hand to
> make namespace assignments.
> 
> Synonymy/homography itself is no problem.  The following document is
> namespace-well-formed:
> 
> <foo:root xmlns:foo="urn:x-one">
>   <bar:a xmlns:bar="urn:x-one"/>
>   <foo:a xmlns:foo="urn:x-two"/>
> </foo:root>
> 
> and is valid against the following eDTD:
> 
> <!NAMESPACE one "urn:x-one">
> <!NAMESPACE two "urn:x-two">
> <!ELEMENT one:root (one:a, two:a)>
> <!ELEMENT one:a EMPTY>
> <!ELEMENT two:a EMPTY>
> 
> since the prefixes in the validation DTD have nothing to do with those
> used in the instance; only the universal names are the same.
> 

See http://lists.xml.org/archives/xml-dev/200105/msg00209.html for a pertinent example.

...

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.