Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: xsd substitution groups weird problem

From: sreedevi crk <sreedevi_crk@-----.--->
To: Kasimier Buchcik <K.Buchcik@---------.-->
Date: 11/18/2005 3:46:00 AM
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@4...> 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.  


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent