On 25/08/10 18:52, Sebastian Rahtz wrote:
> Sort of. If you use RELAX NG, then no. The closest is the notation oXYgen supports.
> <?oxygen RNGSchema="testmav.rnc" type="compact"?>
> but thats just a convention they made up. The RELAXNG massive
> don't believe in the idea of a 1:1 correspondence between
> XML file and schema, as they think you want to validate against
> different schemas at different times.
For what its worth I think this is the right decision and a good thing.
XML Processing Instructions are very useful for this kind of thing.
There is nothing saying you couldn't have 5 processing instructions all
for different types of editor or processor and none of them would
interfere with each other. I don't find it a bad thing for these to be
different (or indeed point to different schemas). Obviously, I also
agree with that Relax NG crowd that you want to validate against
different schemas at different points in your workflow and/or project
> Frankly, I think
> the notation was a dumb idea from the W3C.
It certainly doesn't seem like the best idea.
James Cummings, Research Technologies Service
University of Oxford