[dsdl-comment] Are these two NVDL documents equivalent? (one uses a mode, the other doesn't use a mode)

From: Costello, Roger L. <costello@mitre.org>
Date: Sun May 11 2008 - 13:00:25 UTC

Hi Folks,

Consider the following two NVDL documents.

This version has a single mode containing rules for namespace A and
namespace B:

<?xml version="1.0"?>
<rules startMode="start"
       xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0">
    <mode name="start">
        <namespace ns="http://www.A.org">
            <validate schema="A.xsd" />
        </namespace>
        <namespace ns="http://www.B.org">
            <validate schema="B.rng"/>
        </namespace>
    </mode>
</rules>

This version doesn't use modes. It has a rule for namespace A and
namespace B.

<?xml version="1.0"?>
<rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0">
    <namespace ns="http://www.A.org">
        <validate schema="A.xsd" />
    </namespace>
    <namespace ns="http://www.B.org">
        <validate schema="B.rng"/>
    </namespace>
</rules>

Are the two NVDL documents equivalent?

/Roger

--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Sun May 11 15:03:39 2008

This archive was generated by hypermail 2.1.8 : Sun May 11 2008 - 19:03:02 UTC