OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Document oriented experience reports anyone?

[ Lists Home | Date Index | Thread Index ]

XMLBuddy, Oxygen and no doubt other editors support using DTDs for 
entities but not for validation, as the XML spec allows a non-validating 
parser to do. XMLBuddy uses an off-the-shelf parser (XercesJ). The only 
issue is finding the right feature incantation that makes it work.

I believe the industry as a whole is gradually reacting to this common 
use case. In another forum, Michael Glavassevich wrote: "The JAXP 1.3 
Validation API [1][2] decouples the process of validation from parsing. 
You will be able to perform schema validation without also having to 
turn on the [DTD] validation feature."

It's certainly the path of least resistance to Just Do It as opposed to 
inventing a replacement for DTD entities. If your favorite parser 
doesn't support this use case, send them a bug report.

Bob Foster

Michael Champion wrote:
 > On 6/8/05, Nadia.Swaby@pwc.ca <Nadia.Swaby@pwc.ca> wrote:
 >>In summation, schema can be very useful in publishing, but the lack of
 >>entity support is a huge drawback.
 > Strictly speaking, one can use DTDs (to declare entities) in
 > conjunction with XSD to define everything else.  After all, DTD
 > operates on XML syntax and XSD is defined on the Infoset.  I suspect
 > that there are gotchas that make this difficult ... does anyone know
 > what they might be?
 >>I guess I should copy and paste this in word and send it to the W3C!
 > Yes!


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS