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

Re: Regarding XML schema validation (XSD)

From: Danny Vint <dvint@sack.dreamhost.com>
Date: Tue, 2 Jan 2007 08:26:54 -0800 (PST)
To: merryla martina <merryla@gmail.com>
Cc: xmlschema-dev@w3.org
Message-ID: <Pine.LNX.4.62.0701020825290.4795@gimli.dreamhost.com>

You should report this error to ACORD as well as asking questions here. I 
used to work for ACORD, you may have gotten a recent release that has a 
bug. The schemas are rebuilt every 6 months.

..dan

---------------------------------------------------------------------------
Danny Vint

Specializing in Panoramic Images of California and the West
http://www.dvint.com

Voice:510:522-4703
FAX: 801-749-3229

On Tue, 2 Jan 2007, merryla martina wrote:

> 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:
>
>
>
>          The collection is read-only
>
>          The document is not a recognized schema
>
>          An error occurs when compiling the schema
>
>          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
>
Received on Tuesday, 2 January 2007 16:27:09 GMT

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