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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   validation and typechecking

[ Lists Home | Date Index | Thread Index ]

Dear xml-devers,
   I was wondering what were the advantages of mixing typechecking and
validation in a schema language.
It seems that these are two distinct issues :
<temperature unit="Celsius">25</temperature>
and
<temperature unit="Celsius">twenty five</temperature>
are both grammatically correct, but you might reject one of them.

However, how to deal with
:
<sentence><subject><article>the</article><noun>cat</noun><verb>plays</verb></sentence>
and
<sentence><subject><article>qwe</article><noun>asdfgh</noun><verb>zxcvbnm</verb></sentence>
Yet formally it is exactly the same issue.

Shouldn't distinct things be kept on distinct ground ?

Best regards,
Olivier Dameron

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net





 

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

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