Catalog not getting parsed for certain elements
Posted: Thu May 26, 2016 3:24 am
I'm trying to use rewriteSystem and rewriteURI entries to my DocBook catalog and am running into some issues. I added the following entries to the catalog:
I added the following to one of my source files:
When I view the source file in Author mode, the contents of section.xml and the programlisting with the hard-coded file path are displayed correctly, but I get a Target file not found error that says that \\SharedCode\ruby-example.rb could not be found for the SharedCode entry.
It appears that the catalog is not being parsed when the xi:include is inside of a text element.
Is there a way to tell the parser to use the catalog for other parent element types?
Code: Select all
<rewriteSystem systemIdStartString="file://SharedCode/" rewritePrefix="file:///C:/shared-code/"/>
<rewriteURI uriStartString="file://SharedCode/" rewritePrefix="file:///C:/shared-code/"/>
Code: Select all
<programlisting><xi:include href="file://SharedCode/ruby-example.rb" parse="text"/></programlisting>
<programlisting><xi:include href="file:///C:/shared-code/ruby-example.rb" parse="text"/></programlisting>
<xi:include href="file://SharedCode/section.xml" parse="xml"/>
Code: Select all
Severity: warning
Description: [Document]:\\SharedCode\ruby-example.rb (The network path was not found)
Is there a way to tell the parser to use the catalog for other parent element types?