Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP 3.4.1 xinclude support on mac osx?(Mac osx: Invalid content was found starting with element 'xi:include'.)
WTP 3.4.1 xinclude support on mac osx? [message #1010408] Sun, 17 February 2013 07:31 Go to next message
Peter Warren is currently offline Peter WarrenFriend
Messages: 3
Registered: February 2013
Junior Member
Xinclude on mac osx fails during validation with the message:
Invalid content was found starting with element 'xi:include'.

The same exact code works fine on a windows 7 install.

WTP 3.4.1 is installed on both machine the windows & mac machines.

The failing machine is using:
Version: Juno Service Release 1
Build id: 20120920-0800

The XML->XML Files->Validation->Process XML Inclusion preference is checked on both machines.

URLs below have extra spaces so the forum will allow them.

The xml file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"
xmlns:xi="http:// www.w3.org/2001/XInclude" ...
>
...
<xi:include href="test.xml" />
</root>

The error message seems to indicate that the xinclude simply isn't being processed.

I found this bug from 2007 (eclipse bug 205989 - forum wouldn't let me post the url) which shows the same problem, but it's been fixed for years.

Does anyone have any tips for how to get xincludes working on mac osx?

Thanks!
Re: WTP 3.4.1 xinclude support on mac osx? [message #1010926 is a reply to message #1010408] Mon, 18 February 2013 13:45 Go to previous messageGo to next message
Peter Warren is currently offline Peter WarrenFriend
Messages: 3
Registered: February 2013
Junior Member
I should add that we've tried two different macs, and xinclude doesn't get processed on either of them.

Does anyone have xinclude working on a mac?

If xinclude simply doesn't work with wtp on a mac, can someone recommend an eclipse xml plugin that will process xincludes?

Thanks!
Re: WTP 3.4.1 xinclude support on mac osx? [message #1010996 is a reply to message #1010408] Mon, 18 February 2013 16:17 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4425
Registered: July 2009
Senior Member

Have you opened a bug report about this, with explicit steps that work on other platforms and don't on Mac? If not, could you?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: WTP 3.4.1 xinclude support on mac osx? [message #1011721 is a reply to message #1010996] Wed, 20 February 2013 06:01 Go to previous messageGo to next message
Peter Warren is currently offline Peter WarrenFriend
Messages: 3
Registered: February 2013
Junior Member
So it turns out that unchecking and then re-checking "Process ZML Inclusion" fixes it. So the bug is simply that the Mac preferences are initially incorrect, reporting that xml inclusions are enabled when they're not.

I had not filed a bug report because I figured I must've been doing something wrong. I just did: 401264.
Re: WTP 3.4.1 xinclude support on mac osx? [message #1416082 is a reply to message #1011721] Thu, 04 September 2014 09:33 Go to previous messageGo to next message
poorni s is currently offline poorni sFriend
Messages: 2
Registered: September 2014
Junior Member
Hi,

Our issue is same, I enabled the "Process inclusion" and run the code, still xml content is not displayed in another xml using "Xinclude" Please find the attached file code

Please help me to resolve this issue.

Thankas in advance
  • Attachment: Xinclude.rtf
    (Size: 0.72KB, Downloaded 188 times)
Re: WTP 3.4.1 xinclude support on mac osx? [message #1417398 is a reply to message #1416082] Fri, 05 September 2014 10:30 Go to previous message
poorni s is currently offline poorni sFriend
Messages: 2
Registered: September 2014
Junior Member
Hi All,

Please anyone help me to resolve this issue




Previous Topic:Object cannot be resolved to a type in JSP
Next Topic:Including test resources in Tomcat deployment
Goto Forum:
  


Current Time: Tue Mar 19 06:31:28 GMT 2024

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

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

Back to the top