base-uri error with nested xincludes
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 87
- Joined: Tue Jan 01, 2013 3:19 pm
base-uri error with nested xincludes
Hi,
i have a docbook Document with nested xincludes (a xincluded file xincludes another one). I have problems to resolve relative file names in @fileref attributes. I wrote a small script to track down the problem and found that the base-uri function gives incorrect results. Typically these results have an erroneous repeating of path-fragments. For example, base-uri gives me
Here, the second export/ fragment is wrong. The correct value would be
After that, i created a identity-copy of the Source, that is, one big file with the same content but without any xincludes. Applying the test-script to that file gives me correct results this time. My conclusion is, that there is an issue with the base-uri function and nested xincludes.
Environment: Oxygen 14.2, Windows 7 (64 bit). Scripts are called from within Oxygen.
I have checked the base-uri fix up setting in Oxygen, it is enabled.
Sincerely,
Frank
i have a docbook Document with nested xincludes (a xincluded file xincludes another one). I have problems to resolve relative file names in @fileref attributes. I wrote a small script to track down the problem and found that the base-uri function gives incorrect results. Typically these results have an erroneous repeating of path-fragments. For example, base-uri gives me
Code: Select all
file:/E:/cygwin/home/osci/xta/UML-Modell/XGeneratorProjekt/export/export/Akteure_Use_Cases/Use_Cases/Die_Anwendungsf%C3%A4lle_aus_der_Vogelperspektive.xml"
Code: Select all
file:/E:/cygwin/home/osci/xta/UML-Modell/XGeneratorProjekt/export/Akteure_Use_Cases/Use_Cases/Die_Anwendungsf%C3%A4lle_aus_der_Vogelperspektive.xml"
Environment: Oxygen 14.2, Windows 7 (64 bit). Scripts are called from within Oxygen.
I have checked the base-uri fix up setting in Oxygen, it is enabled.
Sincerely,
Frank
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: base-uri error with nested xincludes
Hi,
This seems to be a bug in the Saxon XSLT transformer engine. I've tested this in the command line, independent from Oxygen, and it seems to behave similarly. We'll continue investigating and if this is indeed the case, we'll report it to Saxonica.
However, I've noticed that disabling Base URI fix-up (in Preferences, XML / XML Parser) seems to resolve the problem.
Regards,
Adrian
This seems to be a bug in the Saxon XSLT transformer engine. I've tested this in the command line, independent from Oxygen, and it seems to behave similarly. We'll continue investigating and if this is indeed the case, we'll report it to Saxonica.
However, I've noticed that disabling Base URI fix-up (in Preferences, XML / XML Parser) seems to resolve the problem.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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