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] Re: Identifying the Top 10 xml Issues.. something with leg

[ Lists Home | Date Index | Thread Index ]

Rick Jelliffe wrote:
>    ...
>    <sch:rule context="starts-with($node, '$')">
>       <sch:assert test="number(string-after($node, $))"
>             >A currency attribute should have a number</sch:assert>
>    </sch:rule>
>   ...

That assertion would unfortunately preclude $0.00 ...

<pedantic>also, you mean "number(string-after($node, '$'))"</pedantic>
-- 
犬 Chris Burdess
   "They that can give up essential liberty to obtain a little safety
   deserve neither liberty nor safety." - Benjamin Franklin








 

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

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