[Home] [By Thread] [By Date] [Recent Entries]


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/    |
+----------------------------------+---------------------------------+

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member