<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Hello,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">The XML documents I work with have the following form:<br>
<?xml version="1.0"?><br>
<!DOCTYPE dmodule [<br>
<!ENTITY TBD SYSTEM "<a href="http://myserver.mydomain.net:81/svn/s1000d/TBD.svg">http://myserver.mydomain.net:81/svn/s1000d/TBD.svg</a>" NDATA SVG><br>
]><br>
<dmodule ...><br>
...<br><graphic boardno="TBD"/><br>
...<br>
</dmodule><br>
<br>As you can see, the figures system location are in a subversion repository and when specified as in the sample, figures are displayed OK in Author mode, CSS associated to the documents have the following entry to handle figures:<br>
graphic {<br>
<span class="Apple-tab-span" style="white-space:pre">        </span>display: block;<br>
<span class="Apple-tab-span" style="white-space:pre">        </span>content: url(unparsed-entity-uri(attr(boardno)));<br>
}<br>
<br>
I was trying to separate XML content from the actual subversion repository server inserting in the catalog.xml for my document type association:<br>
...<br>
<rewriteSystem systemIdStartString="<a href="http://s1000d/">http://s1000d/</a>" rewritePrefix="<a href="http://myserver.mydomain.net:81/svn/s1000d/">http://myserver.mydomain.net:81/svn/s1000d/</a>"/><br>
<rewriteURI uriStartString="file://" rewritePrefix="<a href="http://myserver.mydomain.net:81/svn/s1000d/">http://myserver.mydomain.net:81/svn/s1000d/</a>"/><br>
...<br>
<br>
and changing the ENTITY declaration to:<br>
<!ENTITY TBD SYSTEM "<a href="http://s1000d/TBD.svg">http://s1000d/TBD.svg</a>" NDATA SVG><br>
<br>
But when in Author mode, the figure is not displayed, the following error message is displayed in a red box instead of the image: "Cannot display image <a href="http://s1000d/TBD.svg">http://s1000d/TBD.svg</a>"<br>
<br>
It seems the rewrite statement in catalog.xml is not working.<br>
<br>
Any ideas?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Regards,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Jose M. Mangas</div></body></html>