OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Can XML Schemas do this?

[ Lists Home | Date Index | Thread Index ]

Mike Plusch scripsit:

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

Rubbish.

Everything between "<defmethod>" and "</defmethod>" is not XML.

-- 
One art / There is                      John Cowan <jcowan@reutershealth.com>
No less / No more                       http://www.reutershealth.com
All things / To do                      http://www.ccil.org/~cowan
With sparks / Galore                     -- Douglas Hofstadter




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS