|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Globbing versus Regular Expressions (was: Regular Associat
>
> 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








