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

Re: life support for DTDs? was RE: misprocessingname


Re:  life support for DTDs? was RE:  misprocessingname
2/1/2002 11:29:44 AM, "Wayne Steele" <xmlmaster@h...> wrote:

>
> Another way to go about
> it would be to have a special transformation to "namespace-
> normalize" the instance document. This version would be used for 
> DTD Validation. The ns-normalized version could then be discarded, 
> and the actual instance document presented to the user or 
> application for further processing.
>
>Nobody has done this though, because it would require:
>1. changes to existing validating parsers
>2. consensus on how to write DTDs that would work with this process 
(compare 
>DTDs for XML-Schema and XHTML for two different approaches).

Interesting idea.  DOM Level 3 does a good bit of this, 

a) providing a normalize method to clean up the namespace prefix:URI 
mappings -- although I'm not sure it cleans things up well enough to 
be useful for this job

b) provides an abstraction of both schemas and DTDs to allow in 
principle -- although again I'm not sure that the reality actually 
works well enough to really do what we want here -- validation of the 
normalized instance against a DTD rather than having the parse-time 
validation choke on the inconsistencies between DTDs and Namespaces.

I would encourage anyone interested in this use case to read the DOM 
Level 3 stuff and suggest tweaks that might support it. 




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.