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

Re: Options in XML 1.0

  • From: Jonathan Borden <jborden@m...>
  • To: "Simon St.Laurent" <simonstl@s...>, xml-dev@l...
  • Date: Fri, 10 Nov 2000 11:05:35 -0500

hl7 architectural forms 2004
Simon St.Laurent  wrote:
>
> As fond as I have been of DTDs (believe it or not), I think it's well past
> time to extract them from the initial parsing process, and make them a
> post-processing tool, something like schemas.  The document contains
> whatever it contains, and DTD or schema processing is considered an
> addition to the document, not content at the same level as the actual
> document content.
>

I strongly disagree. In fact there is a role for pre-validation
transformations. DTDs are not merely used for validation and it is this fact
which is causing confusion. I agree that the confusion needs to be
clarified, but I also think we need to clarify the role of DTDs in
pre-validation transformations.

What "pre-validation transformations"? You may exclaim surprise that DTDs
are used in this manner. They are. The most simple 'transformation' is
defaulting of attributes. More complex transformations are performed by the
use of entities (for example, default namespace prefixes ala Modularization
of XHTML and in our ASTM E31.25 Healthcare DTDs see
http://www.openhealth.org/ASTM )

More complex DTD based pre-validation transforms are seen in Architectural
Forms, a DTD based technology. Even more complex transforms can be
accomplished via XSLT. Typically XSLT is seen as a post-validation transform
but suppose an <?xml-stylesheet> PI where to be specified to appear in the
DTD. Such a standard would specify that the DTD be applied after the source
document is passed through the XSLT transform, this would be a
generalization of the ISO Architectural Forms concept.

In any case the current XHMTL, ASTM and HL7 Healthcare DTDs use these DTD
techniques and until XML Schemas can be demonstrated to handle such use
cases: *** including a functional replacement for Architectural Forms as a
pre-validation transformation *** DTDs in their current form are not yet
ready to be put out to pasture, indeed new standards will continue to
specify their use.

Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org

Co-Chair ASTM E31.25 XML Healthcare DTDs
http://www.astm.org




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.