[
Lists Home |
Date Index |
Thread Index
]
jimbolist@hotmail.com (Jimmy Cerra) writes:
>> Or, how do I import a namespace for validation purposes?
>
>Here's how I imagine it. Say the XHTML modules were left unchanged (no
>namespace declaration; however, the XLink schema declared its
>definitions at "http://lists.xml.org/.../msg01074.html" also with no
>prefix. Then I could make my new document (note that I just hacked this
>together now with no testing):
I think the disconnect may be that you have a very different idea of
validating separate namespaces should work than the creators of RELAX
NG, though perhaps I'm misunderstanding you (or them).
Have you looked at Namespace Routing Language (NRL) at all?
http://www.thaiopensource.com/relaxng/nrl.html
The most obvious use case for it is combining schemas written in
different languages for different namespaces, but it looks to me like a
good general-purpose solution to validating documents which use multiple
namespaces.
--
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com -- http://monasticxml.org
|