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

Re: DSDL part 9: new namespace declarations not neededas part


Re:  DSDL part 9: new namespace declarations not  neededas part
I'd love to have DTD support for these features. I'll use Schema in 
situations where I have no other practical choice, and RELAX-NG is at 
least an interesting alternative, but I absolutely prefer using DTDs.

I know this has been debated ad nauseam, but my preference is to have 
the schema only describe the structure of the document and leave the 
data validation to the application. This is because (1) I'm unwilling to 
trust schema validation by the parser in my code - if somebody changes 
the schema I don't want it creating a buffer overrun (well, an 
ArrayIndexOutOfBoundsException anyway - you can't actually *do* buffer 
overruns in Java...) in the application; and (2) there are generally 
constraints on the data which cannot be expressed in the schema language 
(interdependencies between values, or dependencies on external values).

  - Dennis

G. Ken Holman wrote:

> I'd be interested to hear from others if they think DTD syntax is even 
> needed for the features we've quoted here ... or will people just rely 
> on Part 2 (RELAX-NG) for their grammar needs?
>
> Should we even bother with a Part 9?  Why?  We aren't doing this for 
> an academic exercise ... we want to reach the constituency of document 
> modelers out there, many of whom are still using DTD syntax.
>
> ............ Ken 



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.