xml:base="." causes "Access is denied" error
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 58
- Joined: Sat Aug 01, 2009 12:57 am
xml:base="." causes "Access is denied" error
In xml like this
if you click on the xref in Author view an error message pops up saying "Access is denied". Once xml:base is removed the link starts to works.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" type="xml"?>
<article xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:base=".">
<info>
<title>Article Template Title</title>
</info>
<sect1>
<title>Section1 Title</title>
<subtitle>Section1 Subtitle</subtitle>
<para>Text<xref linkend="a123"/></para>
<para xml:id="a123">Text</para>
</sect1>
</article>
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: xml:base="." causes "Access is denied" error
Post by sorin_ristache »
Hello,
The value of xml:base is "." that is the current folder. When you click on the link Oxygen must find the ID a123 in the file specified as xml:base but cannot do that because it cannot open the current folder as file. We will create a new CSS property link-internal for the linkend attribute that search the ID only in the current file ignoring the xml:base value.
You can avoid theerror if you specify a correct xml:base value, that is a file path that ends with the name of the current file.
Regards,
Sorin
The value of xml:base is "." that is the current folder. When you click on the link Oxygen must find the ID a123 in the file specified as xml:base but cannot do that because it cannot open the current folder as file. We will create a new CSS property link-internal for the linkend attribute that search the ID only in the current file ignoring the xml:base value.
You can avoid theerror if you specify a correct xml:base value, that is a file path that ends with the name of the current file.
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