On 9/10/07, MURATA Makoto <murata@hokkaido.email.ne.jp> wrote:
> All,
>
> Consider the following NVDL script. Note that there are two validate
> actions. They reference to the same schema.
>
> <rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"
> xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
> <namespace ns="http://www.example.com">
> <validate schema="foo.rng"/>
> <validate schema="foo.rng"/>
> </namespace>
> </rules>
>
> Are there any implementations that validate the document ONLY ONCE?
> Or, do all implementations valite the document twice?
I think all implementation SHOULD validate it twice, unless they have
very good reason to do so.
I see some case like Dynamically generated schema : If my URL gets a
dynamically generated schema, then those two validations MAY give two
different results
Then on the opposite, I could have
<rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
<namespace ns="http://www.example.com">
<validate schema="foo.rng"/>
<validate schema="bar.rng"/>
</namespace>
</rules>
And nothing prevents me from having foo.rng === bar.rng
So I won't do go this way
Regards,
Mohamed
-- Innovimax SARL Consulting, Training & XML Development 9, impasse des Orteaux 75020 Paris Tel : +33 9 52 475787 Fax : +33 1 4356 1746 http://www.innovimax.fr RCS Paris 488.018.631 SARL au capital de 10.000 € -- 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 Tue Sep 11 12:04:50 2007
This archive was generated by hypermail 2.1.8 : Tue Sep 11 2007 - 14:13:03 UTC