[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [relax-ng-comment] Re: Circular includes/imports in RELAX NG
> I am working on a scenario in which a number of modules > make reference to parts of each other; and they do not fall into a > natural hierarchy. > > Example: > ------------------------------------------------------------- > <grammar xmlns="http://relaxng.org/ns/structure/1.0" > xmlns:a="http://.../a_namespace > xmlns:b="http://.../b_namespace> > > <define name="a:thing1"> ... </define> > > <define name="a:thing2"> > ... > <ref name="b:thing1"/> > ... > </define> > > </grammar> > ------------------------------------------------------------- > <grammar xmlns="http://relaxng.org/ns/structure/1.0" > xmlns:a="http://.../b_namespace > xmlns:b="http://.../a_namespace> > > <define name="b:thing1"> ... </define> > > <define name="b:thing2"> > ... > <ref name="a:thing1"/> > ... > </define> > > </grammar> > ------------------------------------------------------------- > > In XSD I am able to tell the two schemas about each other using > the XSD <import> facility. > > Is there a RELAX NG equivalent, or work-arounds? > > [ I am currently using MSV as my primary validator and > JING as a secondary validator. ] > > BTW [Conformance issue]: > MSV and JING seem to differ in their handling of namespaces > and of whitespace pre- and post- regular expressions. I'll > try to come up with some simple examples soon. > > Thanks > > Daniel > > -- > Dr Daniel Prager > Research Fellow & Consultant > Deakin University & Freelance > > Phone: +61 3 9251 7484 > Web: www.deakin.edu.au/~danielp
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC