Lists Home |
Date Index |
On Mon, 2002-01-21 at 18:24, Clark C . Evans wrote:
> It seems that a
> schema wants to give a fixed interpretation for an element; however,
> the meaning of an element most certainly depends upon its context.
That's certainly not always true. I won't go so far as to say it's
never true, but I've certainly designed the rules files for Regular
Fragmentations, my Namespace filters, and Gorille so that the elements
can work whatever the XML context.
Mixing them up to create collections of rules was all I had in mind, and
context among elements in the same namespace matters, but you could drop
them into documents containing other namespaces or insert extra content
and my processors certainly wouldn't notice.
Sometimes it matters, sometimes it doesn't. I can't say schemas help
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!