W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2004

XSV online validator broken?

From: Wyatt Barton <hiddenharvest@yahoo.com>
Date: Mon, 5 Jan 2004 09:37:13 -0800 (PST)
Message-ID: <20040105173713.67185.qmail@web40611.mail.yahoo.com>
To: xmlschema-dev@w3.org

Hi,
It seems that XSV does not work correctly when a
schema declaration has both a schema instance and
a schema import. In such cases it handles the instance
correctly, but seems to ignore entirely the import
statement. For an example of this kind of construction
see: http://uddi.org/schema/uddi_v3.xsd

In my case, I am using the declarations shown at the
end of this message. If I remove the
XMLSchema-instance
stuff, then everything works correctly. With the
instance statements, however, XSV does not report
having loaded my nxsd_w schema, and it is completely
unresponsive to intentional mistakes or correct
references to types in my nxsd_w namespace.

Any specific or general comments would be most
welcome.
Thanks,
- L. Barton

My Schema code:
<?xml version="1.0" encoding="UTF-8" standalone="no"
?>
<!DOCTYPE NeumesXML [
<!ENTITY Eastern	"Eastern" ><!-- Eastern discipline
chant source -->
<!ENTITY Western	"Western" ><!-- Western discipline
chant source -->
<!-- *********** NEUMES Unicode[tm] Codepoint
Declarations: *********** -->
<!ENTITY % NEUMES SYSTEM
"http://purl.oclc.org/NEUMES/ref/NEUMES_symbolic.xml">
%NEUMES;
]>
<xsd:schema
targetNamespace="http://purl.oclc.org/NEUMES/ref/NeumesXML_tst"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://purl.oclc.org/NEUMES/ref/NeumesXML_tst"
xmlns:nxsd_w="http://purl.oclc.org/NEUMES/ref/NeumesXML_west"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
	"http://purl.oclc.org/NEUMES/ref/NeumesXML_obd
	http://purl.oclc.org/NEUMES/ref/NeumesXML_obd.xsd"
xmlns:obd="http://purl.oclc.org/NEUMES/ref/NeumesXML_obd"
>
<xsd:import
namespace="http://purl.oclc.org/NEUMES/ref/NeumesXML_west"
schemaLocation="http://purl.oclc.org/NEUMES/ref/NeumesXML_west.xsd"/>

<xsd:element name="NeumesXML">
...
=== END ===

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
Received on Monday, 5 January 2004 13:40:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:41 GMT