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] W3C Schema: Resistance is Futile, says Don Box

[ Lists Home | Date Index | Thread Index ]

Hi Bryan,

bryan wrote:

>And if the user interface is an xml editor into which the user enters
>the content for their E-Catalog or what have you. To my mind the person
>using the editor is still a user. 
>  
>
then you have to employ a human to interpret the dates and validate the 
numbers. Either that or specify the fields as strings, possibly 
incorporating loose validation via regular expressions, if you have a 
recipient program that expects that level of validation.

XSD types are great for Web Service (program-to-program) use cases in my 
opinion - you get the choice of specifying language-level types (eg 
xs:byte) where appropriate, or application-specific (eg xs:long, with 
maxExclusive and minInclusive) where more appropriate. And for 
human-to-human use cases, you can just leave them all as strings if 
that's the functionality you want. So what's the problem?

Francis.





 

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

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