[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Can XML Schemas do this?
At 11:58 AM -0500 1/20/03, Mike Plusch wrote: >There is always an XML 1.0 representation for >ConciseXML. Here is Water Type and Water >Contract in XML 1.0: > ><defclass> > <field key="person"/> > <field key="name"> required string </field> > <field key="age"> optional integer </field> > <field key="birth"> optional datetime </field> > <field key="_precond"> > <defmethod> <not age.<is optional/>. > <and birth.<is optional/> /> > </defmethod> > </field> ></defclass> Umm, no, that is not XML 1.0. <not age.<is optional/>. <and birth.<is optional/> /> is not well-formed. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@m... | Writer/Programmer | +-----------------------+------------------------+-------------------+ | Processing XML with Java (Addison-Wesley, 2002) | | http://www.cafeconleche.org/books/xmljava | | http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
|
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
|