Exception with XPath in Oxygen 6.1.1 and Eclipse 3.1
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 64
- Joined: Tue May 17, 2005 9:16 am
Exception with XPath in Oxygen 6.1.1 and Eclipse 3.1
Post by jokester01au »
There appears to be a problem with the rendering of XPath results using Oxygen 6.1.1 in Eclipse 3.1 (release build I20050627-1435) on WinXP.
Whenever an XPath expression is entered which returns results, the following message is displayed
"1 XPath results is located outside the Eclipse's workspace and therefore, cannot be displayed."
If the XPath expression returns no results, the expected message appears.
This does not appear to be related to the file used, and can, for example, be reproduced using the samples/docbook/sample.xml file and the xpath "/book".
Regards,
Joe.
Whenever an XPath expression is entered which returns results, the following message is displayed
"1 XPath results is located outside the Eclipse's workspace and therefore, cannot be displayed."
If the XPath expression returns no results, the expected message appears.
This does not appear to be related to the file used, and can, for example, be reproduced using the samples/docbook/sample.xml file and the xpath "/book".
Regards,
Joe.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Joe,
The XPath results are set as markers, therefore we need to have the files inside an Eclipse project, that is not as external files. In fact, most of the oXygen funtionality will be disabled in this case. Just create a project that contains your files and all the funstionality should be available.
Best Regards,
George
The XPath results are set as markers, therefore we need to have the files inside an Eclipse project, that is not as external files. In fact, most of the oXygen funtionality will be disabled in this case. Just create a project that contains your files and all the funstionality should be available.
Best Regards,
George
-
- Posts: 64
- Joined: Tue May 17, 2005 9:16 am
Exception with XPath in Oxygen 6.1.1 and Eclipse 3.1
Post by jokester01au »
Hi George,
All files with which I have tried to access XPath expressions were indeed inside an Eclipse project.
You should be able to reproduce the bug (using the release build of eclipse 3.1) with the following steps:
1. Create a new eclipse project of type "Sample XML Project". Call it "Oxygen".
2. Open /Oxygen/samples/docbook/sample.xml.
3. Click the XPath toolbar icon.
4. Enter the XPath "/book".
5. The error message "XPath results is located outside the Eclipse's workspace and therefore, cannot be displayed." will appear.
Regards,
Joe.
All files with which I have tried to access XPath expressions were indeed inside an Eclipse project.
You should be able to reproduce the bug (using the release build of eclipse 3.1) with the following steps:
1. Create a new eclipse project of type "Sample XML Project". Call it "Oxygen".
2. Open /Oxygen/samples/docbook/sample.xml.
3. Click the XPath toolbar icon.
4. Enter the XPath "/book".
5. The error message "XPath results is located outside the Eclipse's workspace and therefore, cannot be displayed." will appear.
Regards,
Joe.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
-
- Posts: 64
- Joined: Tue May 17, 2005 9:16 am
Exception with XPath in Oxygen 6.1.1 and Eclipse 3.1
Post by jokester01au »
Hi George,
What I am trying to say is that the files I unsuccessfully try to execute XPath on ARE inside an Eclipse project!
I cannot get Eclipse 3.1 with Oxygen 6.1.1 to execute an XPath on any files at all.
You should be able to recreate this issue yourself by creating an eclipse project using your samples and trying to run XPath on one of them (as shown in my previous post).
Regards,
Joe.
What I am trying to say is that the files I unsuccessfully try to execute XPath on ARE inside an Eclipse project!
I cannot get Eclipse 3.1 with Oxygen 6.1.1 to execute an XPath on any files at all.
You should be able to recreate this issue yourself by creating an eclipse project using your samples and trying to run XPath on one of them (as shown in my previous post).
Regards,
Joe.
-
- Posts: 64
- Joined: Tue May 17, 2005 9:16 am
Attempting to isolate problem
Post by jokester01au »
Hi George,
I have isolated this problem to some degree. Previously, my various workspaces have resided within the directory
c:\JavaProjects
It appears that all of the workspaces within this directory display the same XPath problem.
I have now tried numerous workspaces outside this directory and all work fine.
Can you suggest any properties of this directory that might be causing this issue?
Regards,
Joe.
I have isolated this problem to some degree. Previously, my various workspaces have resided within the directory
c:\JavaProjects
It appears that all of the workspaces within this directory display the same XPath problem.
I have now tried numerous workspaces outside this directory and all work fine.
Can you suggest any properties of this directory that might be causing this issue?
Regards,
Joe.
-
- Posts: 64
- Joined: Tue May 17, 2005 9:16 am
Continued problem with XPath in Oxygen 6.1.1 and Eclipse 3.1
Post by jokester01au »
Hi George,
Further to my previous post, the bug temporarily disappeared when I moved my workspace to
C:\MyWorkspace
However, it has now reappeared within this workspace.
Can you suggest what I can do to identify what is raising this bug?
If it helps to diagnose the issue, I can send you my workspace metadata directory if you give me an email address.
Regards,
Joe.
Further to my previous post, the bug temporarily disappeared when I moved my workspace to
C:\MyWorkspace
However, it has now reappeared within this workspace.
Can you suggest what I can do to identify what is raising this bug?
If it helps to diagnose the issue, I can send you my workspace metadata directory if you give me an email address.
Regards,
Joe.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Continued problem with XPath in Oxygen 6.1.1 and Eclipse
Post by sorin_ristache »
Hello,
Regards,
Sorin
The target file for the XPath query is not included in the current workspace. Did you open the file with File - Open File and browsed to a directory outside the current workspace ?jokester01au wrote:Can you suggest what I can do to identify what is raising this bug?
Regards,
Sorin
-
- Posts: 64
- Joined: Tue May 17, 2005 9:16 am
Oxygen in Eclipse XPath Bug
Post by jokester01au »
Hi Sorin,
I believe it must have something to do with the workspace metadata, since changing workspaces makes it go away temporarily but it soon returns.
Regards,
Joe.
Yes, it is. As I explained in previous posts, this bug occurs when trying to run XPath queries on XML documents INSIDE the workspace.The target file for the XPath query is not included in the current workspace
I believe it must have something to do with the workspace metadata, since changing workspaces makes it go away temporarily but it soon returns.
Regards,
Joe.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Oxygen in Eclipse XPath Bug
Post by sorin_ristache »
Hi,
Regards,
Sorin
Can you provide a screenshot displaying both the current workspace with the queried file selected in the Navigator or Package Explorer and the error message dialog for the queried file opened with the <oXygen/> plugin ? Maybe we can see something wrong if we look at your Eclipse window.jokester01au wrote:As I explained in previous posts, this bug occurs when trying to run XPath queries on XML documents INSIDE the workspace.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Continued problem with XPath in Oxygen 6.1.1 and Eclipse
Post by sorin_ristache »
Hi,
Regards,
Sorin
Please send the metadata directory and the screenshot that I requested in the previous post at support at oxygenxml dot com.jokester01au wrote:If it helps to diagnose the issue, I can send you my workspace metadata directory if you give me an email address.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service