Hi Hussein,

thank you very much. It's working now. 
You are right: I have read a lot in the Commands-Reference but I ignored 
the <resource>-Element because I thought it would not be relevant for me.

Best Regards
Peter Schulte




Hussein Shafie <hussein at xmlmind.com> 
30.11.2005 15:57
Bitte antworten an
"xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com>


An
Peter.Schulte at gad.de
Kopie
"xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com>
Thema
Re: [XXE] fileref-handling using copyDocument







No, there is no bug here.

The job of copyDocument is to copy the document *along with all its
resources* to another place (generally the temporary directory of the
process command).

In order to do this, it generally makes sense to change the filerefs.

If you take the time to carefully read the documentation of
copyDocument, you'll find that dealing with document resources  can be
parametrized using *rules*. See
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/copyDocument.html#resources


The *default* rules are:
---
<resources match="(https|http|ftp)://.*" />
<resources match=".+" copyTo="." />
---

If you explicitly specify the rule below, then you are done:
copyDocument will ignore all references to resources (found in filerefs
in the case of DocBook).
---
<resources match=".*" />
---






-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20051130/6c530886/attachment.htm
 

Reply via email to