Re: xsd substitution groups weird problem

Hi
   
  I want to check if the instance documents created through xmlspy and stylus are correct before validating them. Thus please suggest any reliable free tool that generates xml document based on a xsd file. 
   
  Regards,
  Sreedevi.

Kasimier Buchcik <K.Buchcik@4commerce.de> wrote:
  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 declaration
> file:///c:/sree/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:10,52:
> Schema Representation Constraint: Namespace 'Participation' is
> referenced without declaration

Unlikely; if you look at "Participation-B.xsd" you'll find:



> Error For Participation-B.xsd:
> Validating Participation-B.xsd...
> file:///c:/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:8,45: The
> namespace of an element must be different from the
> targetNamespace of the ing schema
> file:///c:/sree/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:15,53:
> Schema Representation Constraint: Namespace 'Participation' is
> referenced without declaration
> file:///c:/sree/VHIM3200/Datatypes3203/RDT/Participation-B.xsd:11,52:
> Schema Representation Constraint: Namespace 'Participation' is
> referenced without 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
  


		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Received on Friday, 18 November 2005 19:45:58 UTC