- From: Kasimier Buchcik <K.Buchcik@4commerce.de>
- Date: Fri, 18 Nov 2005 11:05:05 +0100
- To: sreedevi crk <sreedevi_crk@yahoo.com>
- Cc: ML-xml-schema-dev <xmlschema-dev@w3.org>
Hi, On Thu, 2005-11-17 at 11:35 -0800, sreedevi crk wrote: > Hi > > I have errors while validating your modified xsds that you listed in > your reply. It happens both in XMLSpy & Stylus. Please help. > Meanwhile I will try using w3c xsd validator to double check the > validity of my original xsd files posted in this forum. > > Following are the errors I was getting in your modified xsds: > Error for Particiaption.xsd: > > file:///c:/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:14,53: > Schema Representation Constraint: Namespace 'Participation' is > referenced without <import> declaration > file:///c:/sree/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:10,52: > Schema Representation Constraint: Namespace 'Participation' is > referenced without <import> declaration Unlikely; if you look at "Participation-B.xsd" you'll find: <xs:import namespace="Participation"/> > Error For Participation-B.xsd: > Validating Participation-B.xsd... > file:///c:/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:8,45: The > namespace of an <import> element must be different from the > targetNamespace of the <import>ing schema > file:///c:/sree/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:15,53: > Schema Representation Constraint: Namespace 'Participation' is > referenced without <import> declaration > file:///c:/sree/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:11,52: > Schema Representation Constraint: Namespace 'Participation' is > referenced without <import> declaration > The XML document Participation-B.xsd is NOT valid (3 errors) [...] It looks more like those schema processors you used are not able to handle the imports. If you use the Stylus Studio as I know it, then you'll find an arrow-button to the right side of the "Validate Document" button, pressing this button will pop-up a list of custom schema validation engines. Try to validate the scenario with those and if it still fails, then please report those validators together with their version numbers - your validators might be outdated. Additionally (but unlikely) it may be that my mail didn't come through correctly to you, so try to compare the scenario on your side with the archived version of my mail at: http://lists.w3.org/Archives/Public/xmlschema-dev/2005Nov/0042.html Regards, Kasimier
Received on Friday, 18 November 2005 10:05:16 UTC