[relaxng-user] association of RELAX NG with a document

John Cowan jcowan at reutershealth.com
Thu Oct 23 13:51:22 ICT 2003


David Tolpin scripsit:

> In simpler words, the people who designed the
> technology don't see a consistent way to formally express an
> association that already exists, or didn't implement it yet. 

It's part of the general problem of specifying appropriate XML
processing; an RNG-specific solution is neither particularly
general nor, IMHO, particularly useful.

> If I
> pretend that a document is valid against a RNG schema, how would I
> formally express it in a standard way? 

How about this:

<?xml version="1.0"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rngspec="http://www.relaxng.org/spec-20011203.html#/">
  <rdf:Description about="http://davidashen.net/document.xml">
    <rngspec:validity rdf:resource="http://www.davidashen.net/schema.rng"/>
  </rdf:Description>
</rdf:RDF>

-- 
John Cowan  jcowan at reutershealth.com  www.reutershealth.com  www.ccil.org/~cowan
I come from under the hill, and under the hills and over the hills my paths
led. And through the air. I am he that walks unseen.  I am the clue-finder,
the web-cutter, the stinging fly. I was chosen for the lucky number.  --Bilbo


More information about the relaxng-user mailing list