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

From: George Cristian Bina <george@oxygenxml.com>
Date: Sun May 11 2008 - 18:14:37 UTC

Hi Roger,

They are equivalent.

In the first case there is an implicit mode that contains the two
namespace rules.

Best Regards,
George

--
George Cristian Bina
http://www.oxygenxml.com
Costello, Roger L. wrote:
> 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=subscribe)
> 
--
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 20:32:25 2008

This archive was generated by hypermail 2.1.8 : Sun May 11 2008 - 18:53:02 UTC