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

RE: XML Schema example

From: Cretella Rosario <RCretella@naples.sema.slb.com>
Date: Mon, 14 Jan 2002 06:41:07 -0500 (EST)
Message-ID: <1F6B1C04A612D311B27400A0C9ECE512CD1942@nawnt02.napoli.semagroup.it>
To: "'Ashok Malhotra'" <ashokma@microsoft.com>, "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>


Thanks a lot for your answer.
Ive tried the examples in  http://www.w3.org/TR/xmlschema-0/  but it seems
they dont work
with Xsv 1.4 validator. I have the following error:

***************************

D:\data\xsv14\XSV>xsv po1.xml
<?xml version='1.0'?>
<xsv docElt='{http://www.example.com/PO1}purchaseOrder'
instanceAssessed='true' instanceErrors='0' schemaErrors='0'
target='file:/D:/data/xsv14/XSV/po1.xml' validation='lax' version='XSV
1.203.2.37/1.
106.2.19 of 2001/11/29 11:00:00' xmlns='http://www.w3.org/2000/05/xsv'>
<schemaDocAttempt URI='http://www.example.com/PO1'
namespace='http://www.example.com/PO1' outcome='failure' source='docElt'>
<notASchema filename='http://www.example.com/PO1'>couldn't open</notASchema>
</schemaDocAttempt>
<XMLMessages>
Error: connection to host "www.example.com" failed for http URL
"http://www.example.com/PO1": Invalid argument
</XMLMessages>
</xsv>

D:\data\xsv14\XSV>

****************************

Does anyone have any suggestion??
  
Best Regards,
 _________________________________
   Rosario Cretella
   SchlumbergerSema - Sema S.p.A.
   E-mail: rcretella@naples.sema.slb.com









-----Original Message-----
From: Ashok Malhotra [mailto:ashokma@microsoft.com]
Sent: Friday, January 11, 2002 5:36 PM
To: Cretella Rosario; xmlschema-dev@w3.org
Subject: RE: XML Schema example


Did you try the examples in the primer: http://www.w3.org/TR/xmlschema-0/
If those don't work for you write back and someone will send you examples.

All the best, Ashok 
===========================================================
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation
Redmond: 425-703-9462                New York: 914-271-6477 



-----Original Message-----
From: Cretella Rosario [mailto:RCretella@naples.sema.slb.com] 
Sent: Friday, January 11, 2002 7:55 AM
To: 'xmlschema-dev@w3.org'
Subject: XML Schema example


Hallo,

Im looking for a very simple example of  XML Schema file and xml instance
that can can be vaidated by XSV or another validator.
Ive already tried with many xml/xsd files found on the web, but it doest
work.

Thanks in advance.

	_________________________________________
		Rosario Cretella
	SchlumbergerSema - Sema S.p.A.
                E-mail: rcretella@naples.sema.slb.com
Received on Monday, 14 January 2002 07:48:52 GMT

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