[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-user
Subject: Validation Problem
From: "Alfonso Focareta" <a.focareta () pronetics ! it>
Date: 2006-08-02 14:54:23
Message-ID: 34447.194.185.249.130.1154530463.squirrel () mail ! pronetics ! it
[Download RAW message or body]
Hi all,
When i try to validate an xml i have this error :
"XML object is not of type D=dataroot"
the problem is in the dataroot tag.
if i modify the name of root xml tag(dataroot), for example in Dataroot i
do not
have the problem.
Why ? dataroot is a private name ?
in attach my xml, xsd and xsdconfig file.
Thanks to all
Alfonso Focareta
Pro-netics s.r.l.
["tipovendita.xml" (text/xml)]
<?xml version="1.0"?>
<dataroot>
<tipovendita>
<properties>
<tipovenditaId>10</tipovenditaId>
<descrizionevendita>OFFLINE-BUNDLE</descrizionevendita>
</properties>
</tipovendita>
<tipovendita>
<properties>
<tipovenditaId>20</tipovenditaId>
<descrizionevendita>OFFLINE-UPSELLING</descrizionevendita>
</properties>
</tipovendita>
<tipovendita>
<properties>
<tipovenditaId>30</tipovenditaId>
<descrizionevendita>ONLINE</descrizionevendita>
</properties>
</tipovendita>
<tipovendita>
<properties>
<tipovenditaId>40</tipovenditaId>
<descrizionevendita>UNICA</descrizionevendita>
</properties>
</tipovendita>
</dataroot>
["tipovendita.xsd" (application/octet-stream)]
["tipovendita.xsdconfig" (application/octet-stream)]
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic