Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Empty attributes

From: Olivier Lefevre <lefevrol@-----.--->
To: xmlschema-dev@--.---
Date: 10/19/2005 6:56:00 PM
>>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.


From mike@s... Wed Oct 19 15:11:41 2005
Received: from maggie.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent