W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > April 2009

Re: p:validate-with-xml-schema question

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 09 Apr 2009 10:42:54 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2ljq9lwgh.fsf@nwalsh.com>
Toman_Vojtech@emc.com writes:

> Section 7.2.6 (p:validate-with-xml-schema) says:
>
> "It is a dynamic error (err:XC0053) if the assert-valid option is true
> and the input document is not valid."
>
> But what happens if assert-valid=false and the document is not valid?
> The step then just returns the input document, behaving like p:identity?

In an implementation that doesn't support the PSVI, yes.

In an implementation that supports the PSVI, it returns the PSVI which
will indicate the types (and validity) of the nodes in the document.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Our culture peculiarly honors the act
http://nwalsh.com/            | of blaming, which it takes as the sign
                              | of virtue and intellect.--Lionel
                              | Trilling

Received on Thursday, 9 April 2009 14:43:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 April 2009 14:43:38 GMT