- From: Guzik, Bob (INV-EDH) <Bob_Guzik@DSTInnovis.com>
- Date: Tue, 16 Sep 2003 08:43:19 -0700
- To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi, I'm relatively new to this and running into a problem. I can't get my XML document to validate using xsv. Instead the get the error below. The document does validate against other validators (Microsoft's parser, xsdvalid). I used the -i option and the schema was OK. No matter what I try xsv doesn't work. I have the latest version v2.5. Any suggestions? TIA C:\Program Files\XSV>xsv http://barbados:7393/ToolSuite/foo1.xml http://barbados:7393/ToolSuite/foo1.xsd <?xml version='1.0'?> <xsv xmlns="http://www.w3.org/2000/05/xsv" docElt="{http://barbados:7393/ToolSuite/}topology" instanceAssessed="false" schemaDocs="http://barbados:7393/ToolSuite/foo1.xsd" schemaErrors="0" schemaLocs="http://barbados:7393/ToolSuite/ -> http://barbados/ToolSuite:7393/foo1.xsd" target="http://barbados:7393/ToolSuite/foo1.xml" version="XSV 2.5-2 of 2003/07/09 13:08:04"> <schemaDocAttempt URI="http://barbados:7393/ToolSuite/foo1.xsd" outcome="success" source="command line"/> <schemaDocAttempt URI="http://barbados/ToolSuite:7393/foo1.xsd" namespace="http://barbados:7393/ToolSuite/" outcome="failure" source="schemaLoc"> <notASchema filename="http://barbados/ToolSuite:7393/foo1.xsd">couldn't open</notASchema> </schemaDocAttempt> </xsv> The headers from the XML and schema look like this: barbados /home/users/bobg/ctsui/applications/DefaultWebApp/ToolSuite [324] head foo1.xml <?xml version="1.0"?> <topology xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://barbados:7393/ToolSuite/" xsi:schemaLocation="http://barbados:7393/ToolSuite/ http://barbados/ToolSuite:7393/foo1.xsd"> <servers> <server> <active>true</active> <name>Barbados</name> <user>soundas</user> barbados /home/users/bobg/ctsui/applications/DefaultWebApp/ToolSuite [325] head foo1.xsd <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://barbados:7393/ToolSuite/" xmlns:cts="http://barbados:7393/ToolSuite/" elementFormDefault="qualified"> <xsd:element name="active" type="xsd:boolean"/> <xsd:element name="name" type="xsd:string"/> <xsd:element name="user" type="xsd:string"/> <xsd:element name="address" type="cts:ctsHostAddressType"/> barbados /home/users/bobg/ctsui/applications/DefaultWebApp/ToolSuite [326] Bob Guzik Research Specialist Advanced Technologies mailto:bob_guzik@dstinnovis.com Work: 916.939.6199 Cell: 916.769.8419 Notice: This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. Thank you.
Received on Tuesday, 16 September 2003 12:08:00 UTC