OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] [Summary] Big hierarchy of XML Schema documents ... whichXML Schema validators bring in the documents on demand?

Mukul Gandhi <gandhi.mukul@gmail.com> wrote on 08/05/2010 08:49:21 PM:


> > 3) it uses the "invalid" definition in the schema?
> I think, the XML schema validator will give an error (either the
> validity error, "schema component error" or both) in this case at some
> point during the validation episode, and the entire validation episode
> will be aborted.

At least with Xerces-J aborting on an error in the schema (i.e. violation of the constraints on schema documents / schema components) is the user's choice. They may choose to continue processing and Xerces will try its best to recover from the errors it encounters. Your milage may vary if you use such a schema for validation, though that's something we focused on improving [1] in the recent 2.10.0 release.

> --
> Regards,
> Mukul Gandhi
> _______________________________________________________________________
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[1] https://issues.apache.org/jira/browse/XERCESJ-1372

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com

E-mail: mrglavas@apache.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS