[oXygen-user] XInclude and WebDAV
Jens Østergaard Petersen
oesterg at gmail.com
Wed Mar 14 14:15:14 CDT 2012
Thank you very much! Works like a charm!
On Mar 12, 2012, at 5:03 PM, Adrian Buza wrote:
> This problem has been resolved in the latest maintenance build of Oxygen 13.2, 2012030716:
>> Database: When opening from an eXist database connection an XML file with XInclude references, the XIncluded content was expanded in the file content.
> You can download it from our web site:
> The list of bug-fixes can be found here:
> Let us know if you encounter further problems with this new build.
> Adrian Buza wrote:
>> Hi again,
>> I just realized that there is no eXist JDBC driver. The Oxygen data source driver actually uses the eXist.jar itself so it's probably an issue in how oXygen is using the eXist API to retrieve the resource.
>> We will have an answer in a few days when the team is back. We're still regrouping after XML Prague.
>> Adrian Buza wrote:
>>> Thank you for contacting us.
>>> I can confirm this behavior with an eXist connection in Oxygen, but I'm not sure what's causing it.
>>> This is easy to reproduce in Oxygen by importing in the eXist database one of the Oxygen XInclude samples. Import the directory: Oxygen/samples/docbook/v5. The sample XInclude file is named: sampleXInclude.xml
>>> Oxygen does not expand the XIncludes by itself. If you open a document with XInclude from WebDAV in Oxygen you will see(in Text mode) the document is not affected. However, when using an eXist connection, the document that Oxygen requests from the eXist database has all XIncludes already expanded. This indicates that the eXist JDBC driver delivers the document already expanded. Or maybe Oxygen solicits it from the driver in a way that causes it to be expanded. I'm not familiar with the inner workings of the eXist driver so I'll have to forward this to our database development team.
>>> Adrian Buza
>>> oXygen XML Editor and Author Support
>>> Tel: +1-650-352-1250 ext.202
>>> Fax: +40-251-461482
>>> support at oxygenxml.com
>>> Jens Østergaard Petersen wrote:
>>>> On the eXist mailing list, an issue with XInlude and the oXygen Data Source Explorer has been discussed which has not found a solution. It is described in a ticket - the ticket has been closed since the problem was not regarded as relating to eXist.
>>>> The problem is that when a document containing an XInclude is opened through the Data Source Explorer from an eXist database, the XInclude is expanded in oXygen and becomes a static part of the including document. The whole idea behind XIncludes is therefore lost.
>>>> oXygen-user mailing list
>>>> oXygen-user at oxygenxml.com
>>> oXygen-user mailing list
>>> oXygen-user at oxygenxml.com
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
More information about the oXygen-user