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

XML Spec error?

  • From: Andrew n marshall <amarshal@u...>
  • To: "'xml-editor@w...'" <xml-editor@w...>
  • Date: Tue, 31 Mar 1998 23:15:28 -0800

XML Spec error?

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."

Should this read:

"...at most one attribute definition for a given attribute name in an 
attribute-list declaration,..."

As it is currently, it seems to imply that no two elements in a DTD can 
have attributes of the same name, which is obviously wrong.  For example:

   <!ELEMENT div ANY>
   <!ATTLIST div
             class NMTOKENS #IMPLIED
   >
   <!ELEMENT span ANY>
             span
             class NMTOKENS #IMPLIED
   >

should be legal.

Andrew n marshall
  student - artist - programmer
    http://www.media-electronica.com/anm-bin/anm
      "Everyone a mentor,  Everyone a pupil"
 

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.