W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2003

Validating Schema on a lan without internet access (using XSV)

From: Glenn R Fletcher <grfletcher@raytheon.com>
Date: Tue, 8 Jul 2003 16:42:02 -0600
To: xmlschema-dev@w3.org
Message-ID: <OF388905A7.9239499D-ON87256D5D.007B933B-87256D5D.007C9510@rsc.raytheon.com>






I've written a test xml instance document and xml schema that validates
(using the XSV validator) when I reference the
"http://www.w3.org/2001/XMLSchema" namespace in both documents.

Does anyone know how I would validate these documents without access to the
internet?  I've read the "is it possible to validate schemas locally
without accessing the internet" thread, but I'm still not having any luck.
I downloaded XSV locally on to my machine, but when I try to reference it
within my schema and instance document, I get the following error:

<?xml version='1.0'?>
<xsv xmlns="http://www.w3.org/2000/05/xsv" docElt="{None}test1"
     instanceAssessed="false" schemaDocs="Test.xsd" schemaErrors="0"
     target="file:///H://TestInstance.xml"
     version="XSV 2.5-1 of 2003/06/24 13:33:31">
  <schemaDocAttempt URI="file:///H://Test.xsd" outcome="failure"
                    source="command line">
    <notASchema filename="file:///H://Test.xsd">Root was &lt;schema>, but
not in W3C XML Schema namespace: http://www.w3.org/2001/XMLSchema (was
c:/Program Files/XSV)</notASchema>
  </schemaDocAttempt>
</xsv>


Please forgive my ignorance, I'm new to schemas.  Any help would be greatly
appreciated.
Received on Tuesday, 8 July 2003 18:50:07 GMT

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