Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XML Editor Not Validating xi:Include(Invalid content was found starting with element...)
XML Editor Not Validating xi:Include [message #1062862] Tue, 11 June 2013 07:31
Ayoub El Barji is currently offline Ayoub El BarjiFriend
Messages: 15
Registered: April 2013
Junior Member

Since few days i am trying to resolve a validation error on the xml editor but i do not yet find the solution. I made a xml document with his correspond schema and i try to validate an other xml document through my Main.xml using xi: include.
But i always have this Error:
cvc-complex-type.2.4.a:Invalid content was found starting with element 'c:Catalogue'. One of '{"":include}'is expected.

My files are below:

<?xml version="1.0" encoding="UTF-8"?>
<xi:project xmlns:xsi="" xmlns:xi="" xsi:schemaLocation=" Main.xsd">
<FileEntry XsdFilePath="./">
<xi:include href="Catalogue.xml" parse="xml" xml:base="./" />

Others Files in Attachements: Catalogue.xml, Catalogue.xsd and Main.xsd

I would appreciate if someone gives me some Help.

  • Attachment: Main.xml
    (Size: 0.35KB, Downloaded 60 times)
  • Attachment: Catalogue.xml
    (Size: 0.69KB, Downloaded 53 times)
  • Attachment: Main.xsd
    (Size: 1.81KB, Downloaded 58 times)
  • Attachment: Catalogue.xsd
    (Size: 1.59KB, Downloaded 62 times)
Previous Topic:Javascript Hints and autocompletion?
Next Topic:EAR in Eclipse Juno with JBOSS 7 does not publish automatically
Goto Forum:

Current Time: Thu Oct 27 15:15:11 GMT 2016

Powered by FUDForum. Page generated in 0.16391 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software