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] Globbing versus Regular Expressions (was: Regular Associat

[ Lists Home | Date Index | Thread Index ]

> 
> why limit this to locating a validation schema? why not follow it to 
> the logical conclusion: a general processing model?

Actually, it is so already.  The readme file, http://ftp.davidashen.net/PreTI/CImpl/readme.txt,
says

: ARX can also be used to link documents to any type of information or
: processing.

There is a command-line flag, -n, which stops treating the chosen string as a 
possibly relative path and outputs it as it is.

> if one generalizes schema-match to

But this should not be embedded into ARX, since, in fact, it restricts and not
generalizes. ARX can output a unique URI based on validation assertions with
respect to a document's URI (filename) and contents.

It is the business of another application to perform processing according to
the result of ARX. For example, to automatically choose a Relax NG schema for 
validation, one invokes

    rnv `arx $1 schemas/arx.conf` $1
or 
    xmllint --relaxng --noout `arx $1 schemas/arx.conf` $1
or 
    jing -c `arx $1 schemas/arx.conf` $1

That is, printing a unique string for each case is the only thing that has to
(and should) be done inside ARX.

David Tolpin
http://davidashen.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