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

Re: Empty attributes

From: Olivier Lefevre <lefevrol@yahoo.com>
Date: Wed, 19 Oct 2005 16:55:32 +0200
To: xmlschema-dev@w3.org
Message-ID: <dj5mpe$sc1$1@sea.gmane.org>
xml empty attributes

>>any DTD-focused newsgroup or mailing list.
> This list isn't DTD-focused, it is XML Schema-focused.

Sorry, somehow I truncated my message when I copied it.
What I meant to write is that I didn't find and DTD-focused
forum, so I hoped this one would do, as DTDs are often used
as a poor man's schema.

> Doing this in XML Schema is no problem.

So, one workaround would be to convert the DTD to a schema
and make that chnage in the schema? Do you know if parsers
that use catalogs will let you substitute a schema for a DTD
without complaining? They are different things.

> It's a strange historical relic of SGML than enumerated 
 > values defined in a DTD have to be valid names. The reason
 > is that SGML (when the moon is right) allows the quotes on
 > an attribute value to be omitted.

I guess that means there is no way to allow empty attributes
if the corresponding DTD declaration is enumerated, right?

Thanks again very much,

-- O.L.
Received on Wednesday, 19 October 2005 15:01:09 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.