
Hi, I'm testing version of oxy that has support for XInclude. The following problem is found. After inserting xi:include elements to document, code-insight no longer displays element list correctly. When all xi:include elements are commented. Code-insight returns to normal functionality. Example: In a chapter document insert an xi:include for a sect1. Now try to use code-insight to insert a new sect1 inside the chapter. sect1 is not available from code-insight. Comment the xi:include, now sect1 is available from code-insight. Sean Wheller __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

Hi Sean, To make clear for everybody where is the oXygen that has support for XInclude I enclose below a fragment from the email I sent you:
Xerces 2.5.0 included with oXygen 2.0.4 has some XInclude support. We integrated this in oXygen and an updated jar can be downloaded from:
http://www.oxygenxml.com/george/download/xinclude/oxygen.jar
Check Options->Preferences / XML Parser options ---> Enable XInclude processing.
Now the content completion problem comes from the fact that for performance reasons we do not precess external references on content completion. This coupled with the context sensitive support gives no entries after xi:include. Possible solutions: 1. Offer all elements that can appear in the parent instead of none. 2. Resolve external entities (configurable through preferences) Best Regards, George ------------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/ ----- Original Message ----- From: "Sean Wheller" <seanwhe@yahoo.com> To: <oxygen-user@oxygenxml.com> Sent: Monday, October 13, 2003 10:57 AM Subject: [oXygen-user] Bug: XInclude
Hi,
I'm testing version of oxy that has support for XInclude. The following problem is found.
After inserting xi:include elements to document, code-insight no longer displays element list correctly.
When all xi:include elements are commented. Code-insight returns to normal functionality.
Example: In a chapter document insert an xi:include for a sect1.
Now try to use code-insight to insert a new sect1 inside the chapter. sect1 is not available from code-insight.
Comment the xi:include, now sect1 is available from code-insight.
Sean Wheller
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

--- George Cristian Bina <george@oxygenxml.com> wrote:
Hi Sean,
To make clear for everybody where is the oXygen that has support for XInclude I enclose below a fragment from the email I sent you:
Xerces 2.5.0 included with oXygen 2.0.4 has some XInclude support. We integrated this in oXygen and an updated jar can be downloaded from:
http://www.oxygenxml.com/george/download/xinclude/oxygen.jar
Check Options->Preferences / XML Parser options ---> Enable XInclude processing.
Now the content completion problem comes from the fact that for performance reasons we do not precess external references on content completion. This coupled with the context sensitive support gives no entries after xi:include. Possible solutions: 1. Offer all elements that can appear in the parent instead of none. 2. Resolve external entities (configurable through preferences)
Best Regards, George
Thanks George, I understand that there is "some" support and I understand the problem. When you say
Possible solutions: 1. Offer all elements that can appear in the parent instead of none.
I don't understand how I may do this?
2. Resolve external entities (configurable through preferences)
How is this configurable through preferences? I would like some clear instructions for my article Oxygen XML Editor - Using XInclude with Docbook. Thanks Sean Wheller __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

Hi Sean,
Thanks George, I understand that there is "some" support and I understand the problem.
When you say
Possible solutions: 1. Offer all elements that can appear in the parent instead of none.
I don't understand how I may do this?
2. Resolve external entities (configurable through preferences)
How is this configurable through preferences?
I would like some clear instructions for my article Oxygen XML Editor - Using XInclude with Docbook.
These are possible solutions we should implement further :). The XInclude support is in a very early stage, when you enable it all the parsers created inside oXygen have XInclude support, nothing more. One can do the same by setting a system property and using the 2.0.4 release as I explained on a forum entry: http://www.oxygenxml.com/forum/viewtopic.php?t=31 . As soon as 1. and 2. are implemented I will post an updated jar and let you know. Best Regards, George

Hi, A side note on this topic. I managed to use XInclude with oXygen 2.0.4, you can see my comments at: http://www.oxygenxml.com/forum/viewtopic.php?t=31 Cheers, Marius
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com]On Behalf Of George Cristian Bina Sent: Monday, October 13, 2003 3:33 AM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Bug: XInclude
Hi Sean,
To make clear for everybody where is the oXygen that has support for XInclude I enclose below a fragment from the email I sent you:
Xerces 2.5.0 included with oXygen 2.0.4 has some XInclude support. We integrated this in oXygen and an updated jar can be downloaded from:
http://www.oxygenxml.com/george/download/xinclude/oxygen.jar
Check Options->Preferences / XML Parser options ---> Enable XInclude processing.
Now the content completion problem comes from the fact that for performance reasons we do not precess external references on content completion. This coupled with the context sensitive support gives no entries after xi:include. Possible solutions: 1. Offer all elements that can appear in the parent instead of none. 2. Resolve external entities (configurable through preferences)
Best Regards, George ------------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message ----- From: "Sean Wheller" <seanwhe@yahoo.com> To: <oxygen-user@oxygenxml.com> Sent: Monday, October 13, 2003 10:57 AM Subject: [oXygen-user] Bug: XInclude
Hi,
I'm testing version of oxy that has support for XInclude. The following problem is found.
After inserting xi:include elements to document, code-insight no longer displays element list correctly.
When all xi:include elements are commented. Code-insight returns to normal functionality.
Example: In a chapter document insert an xi:include for a sect1.
Now try to use code-insight to insert a new sect1 inside the chapter. sect1 is not available from code-insight.
Comment the xi:include, now sect1 is available from code-insight.
Sean Wheller
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
George Cristian Bina
-
Marius Scurtescu
-
Sean Wheller