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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Re: W3C Schema substitution-group question - the files

[ Lists Home | Date Index | Thread Index ]

David Byrden <David@Byrden.com> writes:

> To follow up on my earlier question, I am attaching small files that
> demonstrate the problem.

XSV is happy with the files as shipped, _and_ with 'offending' import
(which I agree is unneeded) removed from testSchema.xsd.

This sounds like a bug in whatever validator you're using.

Here's XSV's output once the 'offending' import is deleted, FYIW:

<xsv xmlns='http://www.w3.org/2000/05/xsv' docElt="{TTT}test"
     instanceAssessed="true" instanceErrors="0" rootType="[Anonymous]"
     schemaErrors="0" schemaLocs="TTT -> testSchema.xsd; AAA -> altSchema.xsd"
     validation="strict" version="XSV 2.2-2 of 2002/12/03 10:45:21">
    namespace="TTT" outcome="success" source="schemaLoc"/>
    namespace="HHH" outcome="success" source="import"/>
    namespace="AAA" outcome="success" source="schemaLoc"/>
    namespace="HHH" outcome="redundant" source="import"/>

The "redundant" outcome doesn't mean the import wasn't required, just
that the schemaLoc wasn't pursued since we'd already done one.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]


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

Copyright 2001 XML.org. This site is hosted by OASIS