|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML Schemas: lost "open content models"?
> -----Original Message----- > From: Roger L. Costello [mailto:costello@m...] > Sent: Thursday, February 24, 2000 1:00 PM > To: www-xml-schema-comments@w...; xml-dev@x... > Cc: costello@m...; Schneider,John C.; Cokus,Michael S.; > Wang,David > Subject: XML Schemas: lost "open content models"? > > > Hi Folks, > > In an earlier incarnation of the XML Schema spec it allowed > you to state > that the content of an element is "open". > > My question is: What happened to it? Is it there in the > current spec, > but under a different guise? Or, if it's not there, is it > coming back in > the next version of the spec? Look at element and attribute wildcards (<any/> and <anyAttribute/> respectively). They subsume the functionality of the old model=open/closed attribute. Both of these are described in Part 1 of the Dec 17 PWD (section 3.5). Had your "Book" type been defined as follows: > <element name="Book"> > <type> > <element name="Title" type="string"/> > <element name="Author" type="string"/> > <element name="Date" type="string"/> > <element name="ISBN" type="string"/> > <element name="Publisher" type="string"/> > <any minOccurs='0' maxOccurs='*'/> > </type> > </element> You would have been fine. DB http://www.develop.com/dbox *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/threads.html ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








