Hi David,
We'll probably have this fix available by Oxygen 9.3 (couple of days).
When the fix will be available all you will have to do will be to add
your catalog to the Oxygen catalogs list and the DITA Maps Manager topic
references
will be solved through the catalog.
Regards,
Radu
--
Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
David Linton wrote:
I understand that you use URN's in topicref href's and you want when a
map is opened in the DITA Maps Manager view to see correctly the links
to the hrefs (solved by catalog) and of course when double clicking a
link to open in the editor the real location solved by catalog.
Indeed Oxygen does not yet solve by catalog the topic references
presented in the DITA Maps Manager but we can work on this.
Is my understanding correct?
Yes, that's right.
You also speak something about Oxygen ignoring catalog entries at
validation. What kind of validation are you referring to?
I don't know - that's just the phrase you used in the user guide, where you
distinguished "validation" from "transformation". I figured they were the only
two processes
involved, but I guess that was wrong.
Also, how have you modified the DITA-OT toolkit to allow the URN's to be
resolved at transformation time?
DITA-OT isn't happy with map files which aren't at the top level so I ended up
preprocessing all the
links into a temporary directory with some XSL; a side-effect of that process
is that topicref hrefs
get resolved before they get to DITA-OT.
Before I did that, it worked fine to replace the <xslt> ant task in DITA-OT
with one that used saxon with the
apache commons resolver.
rgds
dave
.
I understand that you have an xml catalog which solves the URN's to real
locations. Can you send us a sample from it?
I use "uriStartString" to save writing out all the URNs, although I'm aware
that the URNs
aren't quite compliant with the RFC, but it's not caused any problems so far.
<group
xml:base="/build/dlinton/p4-workspaces/ws-david/docs/style/MAIN/dita-ot/">
<rewriteSystem systemIdStartString= "urn:quative.tv:dita:xsl/"
rewritePrefix= "xsl/" />
<rewriteURI uriStartString= "urn:quative.tv:dita:xsl/"
rewritePrefix= "xsl/" />
<rewriteSystem systemIdStartString= "http://docs.quative.tv/dita/xsl/"
rewritePrefix= "xsl/" />
<rewriteURI uriStartString= "http://docs.quative.tv/dita/xsl/"
rewritePrefix= "xsl/" />
</group>
<group xml:base="/build/dlinton/p4-workspaces/ws-david/docs/style/MAIN/">
<rewriteSystem systemIdStartString= "urn:quative.tv:dita:extensions/dtd/"
rewritePrefix= "dtd/" />
<rewriteSystem systemIdStartString= "urn:quative.tv:dita:apiref/dtd/"
rewritePrefix= "dtd/" />
<rewriteSystem systemIdStartString= "urn:quative.tv:dita:javaapiref/dtd/"
rewritePrefix= "dtd/" />
<rewriteSystem systemIdStartString= "urn:quative.tv:dita:dtd/" rewritePrefix=
"dtd/" />
<rewriteSystem systemIdStartString= "urn:quative.tv:style:"
rewritePrefix= "" />
<rewriteURI uriStartString= "urn:quative.tv:style:"
rewritePrefix= "" />
<rewriteSystem systemIdStartString= "http://docs.quative.tv/style/"
rewritePrefix= "" />
<rewriteURI uriStartString= "http://docs.quative.tv/style/"
rewritePrefix= "" />
</group>
<group xml:base="/build/dlinton/tmp/generated/">
<rewriteURI uriStartString= "urn:quative.tv:docs:generated/"
rewritePrefix= "" />
<rewriteURI uriStartString= "http://docs.quative.tv/generated/"
rewritePrefix= "" />
</group>
<group
xml:base="/build/dlinton/p4-workspaces/ws-david/docs/content/MAIN/cca-ccom/">
<rewriteURI uriStartString= "urn:quative.tv:docs:cca-ccom/"
rewritePrefix= "" />
<rewriteURI uriStartString= "http://docs.quative.tv/authored/cca-ccom/"
rewritePrefix= "" />
</group>
<group xml:base="/build/dlinton/p4-workspaces/ws-david/docs/content/MAIN/">
<rewriteURI uriStartString= "urn:quative.tv:docs:"
rewritePrefix= "" />
<rewriteURI uriStartString= "urn:quative.tv/docs/"
rewritePrefix= "" />
<rewriteURI uriStartString= "http://docs.quative.tv/"
rewritePrefix= "" />
</group>
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, discussion or disclosure by others is strictly prohibited. If you are not the intended recipient of this email, please contact the sender by return email and delete all copies of this email and its attachments, if any.
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user