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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML Spec error?

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 01 Apr 1998 07:30:42 -0800

At 11:15 PM 3/31/98 -0800, Andrew n marshall wrote:
>
>In section 3.3:
>
>"For interoperability, writers of DTDs may choose to provide at most one 
>attribute-list declaration for a given element type, at most one attribute 
>definition for a given attribute name, and at least one attribute 
>definition in each attribute-list declaration."
>
...
>As it is currently, it seems to imply 

Read it more carefully.  It says that while the following are legal
in XML, they will be rejected by pre-TC SGML systems, so if you care
about such systems, you shouldn't use them:

<!ATTLIST e a1 CDATA #IMPLIED> 
<!-- warning applies from here down -->
<!ATTLIST e a2 CDATA #IMPLIED> <!-- 2 attlists for type "e" -->
<!ATTLIST e a2 IDREF #REQUIRED> <!-- 2 defs for attr "a2" -->
<!ATTLIST e > <!-- empty attlist -->

Need another annotation here... -T.


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





 

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

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