W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

XML Schema Part 1-{any attributes with non-schema namespace}

From: Zhangxiangli <xianglizhang@precomtech.com>
Date: Wed, 27 Jun 2001 10:07:29 -0000
Message-ID: <006401c0feae$1c8e8240$7300a8c0@zhangxiangli>
To: <www-xml-schema-comments@w3.org>
Hello:

in 3.3.2 XML Representation of Element Declaration Schema Components
 
XML Representation Summary: element Element Information Item
<element 
  abstract = boolean : false
  block = (#all | List of (extension | restriction | substitution)) 
  default = string 
  final = (#all | List of (extension | restriction)) 
  fixed = string 
  form = (qualified | unqualified)
  id = ID 
  maxOccurs = (nonNegativeInteger | unbounded)  : 1
  minOccurs = nonNegativeInteger : 1
  name = NCName 
  nillable = boolean : false
  ref = QName 
  substitutionGroup = QName 
  type = QName 
  {any attributes with non-schema namespace . . .}>
  Content: (annotation?, ((simpleType | complexType)?, (unique | key | keyref)*))
</element>

I don't know exactly "{any attributes with non-schema namespace . . .}" means, does it mean that I can add any attribute not listed in element defination, is it validate to define a element as follows:

<element name="a" type="string" action="add"/>



thanks,

xiangli zhang



Received on Tuesday, 26 June 2001 21:59:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:50 GMT