Thursday, March 29, 2012

Error from msxml6.dll

Hi,
i have a problem. when i try to validate an xml file with his schema
the msxml6.dll return this error:
01.xsd#/schema/element[1][@.name =
'T_CampiAree']/complexType[1]/sequence[1]/element[1][@.name =
'nomecampo']/simpleType[1]/restriction[1] Type
'{http://schemas.microsoft.com/sqlserver/2004/sqltypes}varchar' is
either not declared or not a simpleType.
i use a XMLSCHEMA option to generate a xsd and xml file
Anybody can help me?
Thanks!!
You will need to retrieve the schema from
http://schemas.microsoft.com/sqlserver/2004/sqltypes and load it into your
schema cache so that the validation finds it.
Best regards
Michael
"maurox" <mrago@.inwind.it> wrote in message
news:1140011253.493383.193650@.o13g2000cwo.googlegr oups.com...
> Hi,
> i have a problem. when i try to validate an xml file with his schema
> the msxml6.dll return this error:
> 01.xsd#/schema/element[1][@.name =
> 'T_CampiAree']/complexType[1]/sequence[1]/element[1][@.name =
> 'nomecampo']/simpleType[1]/restriction[1] Type
> '{http://schemas.microsoft.com/sqlserver/2004/sqltypes}varchar' is
> either not declared or not a simpleType.
> i use a XMLSCHEMA option to generate a xsd and xml file
> Anybody can help me?
> Thanks!!
>

No comments:

Post a Comment