IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

ERROR Options · View
kielrom
Posted: Monday, November 16, 2015 5:23:51 PM
Rank: Newbie

Joined: 11/16/2015
Posts: 5
Location: España
Hello,



I got an error when trying to validate an XML is as follows :







Someone would know guide me a bit about it?



Thank you
island
Posted: Tuesday, November 17, 2015 8:24:26 AM
Rank: Newbie

Joined: 10/28/2002
Posts: 1,283
Location: AT
It is looking for a file named "SuministrolLR.xsd" in the same directory as the xml file that you are validating. Does this file exist in the same directory?
kielrom
Posted: Tuesday, November 17, 2015 8:52:49 AM
Rank: Newbie

Joined: 11/16/2015
Posts: 5
Location: España
SuministroLR.xsd After copying the file to the same directory where valid I get the following error:










thz
island
Posted: Tuesday, November 17, 2015 9:13:07 AM
Rank: Newbie

Joined: 10/28/2002
Posts: 1,283
Location: AT
attach your xml and all of your xsd files.
kielrom
Posted: Tuesday, November 17, 2015 9:38:22 AM
Rank: Newbie

Joined: 11/16/2015
Posts: 5
Location: España
In theory, I have all the xsd in the same directory.





I have attached the developers of the Spanish tax agency website, where only give us these 3 xsd.


http://www.agenciatributaria.es/AEAT.desarrolladores/Desarrolladores/_menu_/Documentacion/IVA/Suministro_Inmediato_de_Informacion__SII_/Suministro_Inmediato_de_Informacion__SII_.html
island
Posted: Tuesday, November 17, 2015 10:41:53 AM
Rank: Newbie

Joined: 10/28/2002
Posts: 1,283
Location: AT
your xml file is missing. Attach "2015_11_BA_E-aaaaa2.xml"
kielrom
Posted: Tuesday, November 17, 2015 11:05:17 AM
Rank: Newbie

Joined: 11/16/2015
Posts: 5
Location: España
island wrote:
your xml file is missing. Attach "2015_11_BA_E-aaaaa2.xml"





Could you explain a little more?
island
Posted: Wednesday, November 18, 2015 5:34:27 AM
Rank: Newbie

Joined: 10/28/2002
Posts: 1,283
Location: AT
I mean: you have provided the schemas but not the xml file that you are trying to validate...which would be helpful to determine the cause of the problem.

At any rate I think I see it in your first screenshot.

Your root element is incorrect.

You have:

siiLR:SuministroLRfacturasEmitidas

instead of:

siiLR:SuministroLRFacturasEmitidas

(Notice the upper case F which is how the element is defined in the schema. XML names are case sensitive "ABC" is not the same as "abc")
mikovirgoez
Posted: Monday, April 4, 2016 1:19:06 AM
Rank: Newbie

Joined: 4/4/2016
Posts: 1
Location: Ngawi
I am also experiencing the same thing as you. So I am very puzzled how to fix.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.