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

Re: XML in the real world... Was "Re: Another look at namespaces"

  • From: Paul Prescod <paul@p...>
  • To: XML-DEV <xml-dev@i...>
  • Date: Fri, 17 Sep 1999 14:37:40 +0200

rtf validator
Tyler Baker wrote:
>
>...
> In the case of most applications, they build there own data structures directly from an
> event-based XML parser or else from some sort of object-oriented framework which delegates the
> events to some sort of abstract element API. If you get an unknown form of element content,
> the application can choose how to handle it as it wishes. Whether this element content is
> supposed to be there is defined by programmer documentation which may include a DTD as a
> reference (such as in the XSLT spec). If expected element content does not occur within the
> scope of the containing element being processed, then the application can fill in the default
> values as it sees fit.

Part of the zen of SGML (inherited by XML) is that standards exist to
protect end users from programmers.

If the definitive *executable* specification for an interchange language
is a software product then the that product's vendor essentially owns
that language. So for instance there is an open specification for "RTF"
but there is no such thing as an RTF "validator" so the definitive
specification for what is or is not valid RTF is Word for Windows. End
users that want to check an RTF document's conformance do so by pumping
it through Word. This puts every competitor to Microsoft at a
disadvantage and that in turn hurts end users. HTML has the same
problem. XHTML is trying to move away from that.

On the other hand, the definitive executable specification (validator)
for Docbook is the DTD and Docbook producing software can be easily
tested for conformance using neutral (and free) third party tools. One
could imagine a world in which there were hundreds of "hand-coded"
validators for RTF, HTML (there are!), and every other language but once
you've written a few of these you come to think: "wouldn't it be better
if there was a generalized way to do that."

 Paul Prescod

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



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.