[
Lists Home |
Date Index |
Thread Index
]
Would it be more "XML"-ish to hang preprocessing off namespaces?
So that you provide a preprocessor with a list of allowed namespaces
or prefixes and strip the tags of the rest? "Ignore html1: and strip rdf:"
for example.
There would then be kind of overlapping WF check easily possible,
just checking that all elements of each prefix/namespace form a
balanced tree: one tree per namespace. (With some scoping
conventions for xmlns declarations.)
Cheers
Rick Jelliffe
|