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 ]

[Rick Jelliffe]

From: "Mike Plusch" <mplusch@clearmethods.com>

> Equivalent in ConciseXML:
> <defclass person
>    name=required=string
>    age=optional=integer
>    birth=optional=datetime
>    _precond=<defmethod> <not age.<is optional/>.
>                              <and birth.<is optional/> />
>             </defmethod>
> </defclass>

Isn't the equivalent in XML as follows?

<?water 
    <defclass person
       name=required=string
       age=optional=integer
       birth=optional=datetime
       _precond=<defmethod> <not age.<is optional/>.
                             <and birth.<is optional/> />
            </defmethod>
    </defclass>
?>

Score one for Rick!

Cheers,

Tom P





 

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

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