Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Regarding XML schema validation (XSD)

From: "merryla martina" <merryla@-----.--->
To: xmlschema-dev@--.---
Date: 1/2/2007 4:16:00 PM
Hi,



I tried to perform schema validation. The code works well. But when I tried
with the Sample txlife.xsd file from http://acord.org/ I got error in
associating the namespace with the xsd i.e. in the add () method. The add (=
)
method returned E_FALSE.



When I referred the MSDN library, it states that



"E_FAIL is returned if:



=B7         The collection is read-only

=B7         The document is not a recognized schema

=B7         An error occurs when compiling the schema

=B7         The ready state of the document is not 4. "



After referring MSDN library, I tried to catch the error description.



The error descriptions look like this

Undeclared XSD type: '{http://ACORD.org/Standards/Life/2} ACORD_TYPE_CODE'.



So I referred the txlife.xsd schema, I found that ACORD_TYPE_CODE was
referred but not defined. After that I tried to view the site
http://ACORD.org/Standards/Life/2 <http://acord.org/Standards/Life/2> for
the definition of

ACORD_TYPE_CODE.I found "page not found " error.



Here I can't understand why this error description, which is highted above,
comes, as this xsd file is a standard one.



The sample txlife.xsd file starts like this



<xsd: schema targetNamespace="http://ACORD.org/Standards/Life/2" xmlns==
"
http://ACORD.org/Standards/Life/2" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"
attributeFormDefault="unqualified" version="2.9.00">


 Thanks
Merryla


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