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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XML Schema regex



Thanks Robin.  I'll have a look at the Perl site.

Beating on XML Schemas is almost a candidate for an Olympic 
sport.  Nonetheless, it is a recommended spec now and supported 
by existing tools.  Libraries of commonly used components 
(eg, regexes, common enumerations, Schematron assertions) are useful.  
Better to have good code, tested and reusable than bad code.

Many thanks to Roger Costello for the currency types.

Len 
http://www.mp3.com/LenBullard

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: Robin Berjon [mailto:robin@knowscape.com]

On Wednesday 15 August 2001 23:36, Bullard, Claude L (Len) wrote:
> Does anyone know of a repostitory of moreorless
> reusuable regexes, eg, international phone numbers,
> file paths etc, for XML Schema?

For XML Schema no (not yet I hope), but that has been started for Perl a 
while ago. Parts of it shouldn't be excessively hard to port. See for 
instance http://search.cpan.org/search?dist=Regexp-Common (there are other 
similar efforts which I can't seem to find right now).