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

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 UTC