----- Original Message From: "Michael Kay" <...> > Also of course there is the terrible danger of writing > > <xs:element name="z"> > <xs:complexType> > <xs:sequence> > <xs:element name="e"/> > </xs:sequence> > </xs:complexType> > </xs:element> > > ... > > an error whose only effect is that invalid documents are not detected as > such. I think you're saying that if a local element was only allowed to use the ref attribute (rather than name and type), things would be better. Personally, I think a better fix to this problem would be to not allow default types. So if a name was present, then either a type attribute must be present or (less preferably) a local type definition. Pete. -- ============================================= Pete Cordell Tech-Know-Ware Ltd for XML Schema to C++ data binding visit http://www.tech-know-ware.com/lmx/ http://www.codalogic.com/lmx/ =============================================Received on Friday, 18 May 2007 09:43:16 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:38 GMT