Hi Vincent, > > > Not only the bridge but also the document name (against which the > > cleaning > > is done) will need to be provided for this filter. > > Just to understand can you explain why you need the document name in > some filters?
The XHTML->XWiki 2.0 parser expects image links of following format: <!--startimage:my.png--><img src="/xwiki/bin/download/currentdoc/my.png" param1="value1" param2="value2" alt="my.png"/><!--stopimage--> But the html documents generated by open office sever contain image links like: <img src="my.png" param1="value1" param2="value2" alt="my.png"/> So, the filtering done by ImageFilter is to convert the second one to the first version. To obtain the attachment url for "my.png", we need to know against which document the cleaning is done (so that DocumentAccessBridge#getAttachmentURL()) can be used. Note: ONLY ImageFilter thus far has this requirement. Thanks. - Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

