The XML Schema Structures spec has a constraint on <element>s whose parent is not <schema> which reads: If ref is present, then all of <complexType>, <simpleType>, <key>, <keyref>, <unique>, nullable(nillable), default, fixed, block and type must be absent, i.e. only minOccurs, maxOccurs, id are allowed in addition to ref, along with <annotation>. This is in "Schema Representation Constraint: Element Declaration Representation OK" (CR spec section 4.3.2 ... Current (Feb 10/2001) spec section 3.3.3). This constraint omits the 4 other attributes of <element> - abstract, final, form, and substitutionGroup. My assumption is that these 4 attributes also "must be absent" if ref is present, otherwise the schema would be in error. Can someone please confirm this or correct my assumption? Thanks. ------ Mark Huffman XML Parsers, Toronto Lab (416) 448-2332 T/L 778Received on Monday, 5 March 2001 11:02:14 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT