Re: [xml] Properties (attributes) with no value.



On Fri, Oct 01, 2004 at 11:21:41AM -0600, Adam Jerome wrote:
Considering the following example:

   <ELEMENT attribute="true">

Would the following be within XML standards:?
  
   <ELEMENT attribute>

  No it's not well-formed:
    http://www.w3.org/TR/REC-xml/#NT-Attribute
    [41]        Attribute          ::=          Name Eq AttValue

   Eq and AttValue are not optional.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]