[MarkLogic Dev General] Multiple nonamespace schemas
Mary Holstege
mary.holstege at marklogic.com
Sat Mar 27 06:59:15 PST 2010
On Fri, 26 Mar 2010 14:36:12 -0700, Tim Meagher <tim at aaom.net> wrote:
> Hi folks,
>
>
> I have a couple of schemas that are very similar and neither of which
> references a namespace. They are used to validate content that refers
> to a
> schema location, but which have no namespaces associated with them.
>
>
> The two schemas have different names, but they share the same root
> element
> name as well as many other element names. The differences are minor -
> one
> has additional attributes and elements.
>
>
> I'm wondering, due to the lack of namespaces and shared element names,
> if it
> is possible for collisions to occur between the 2 schemas when trying to
> validate against one schema or the other.
>
>
> Thank you!
>
>
> Tim Meagher
As long as you specify an explicit schema location in your query (or in
your document) and that schema location resolves correctly to the
schema you want, you should be OK.
//Mary
More information about the General
mailing list