Re: association of RELAX NG with a document

John Cowan <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
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  [email protected]  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.