Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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 02:31 Go to next message
Peter Warren is currently offline Peter Warren
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 08:45 Go to previous messageGo to next message
Peter Warren is currently offline Peter Warren
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 11:17 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2133
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 WTP, IBM
Re: WTP 3.4.1 xinclude support on mac osx? [message #1011721 is a reply to message #1010996] Wed, 20 February 2013 01:01 Go to previous message
Peter Warren is currently offline Peter Warren
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.
Previous Topic:Snippets provider
Next Topic:home and remote inteface will not be created by XDoclet
Goto Forum:
  


Current Time: Sat Apr 19 09:01:12 EDT 2014

Powered by FUDForum. Page generated in 0.05650 seconds