Re: Error formatting macro: snippet

2007-07-10 Thread Daniel Kulp


I just checked the confluence snippet macro config and it looks ok.   It 
has a mapping of:

prefix: servicemix/ 
to url: http://svn.apache.org/repos/asf/incubator/servicemix/   

Thus, on your page, it should just be:

{snippet:id=expression|lang=xml|
url=servicemix/trunk/common/servicemix-components/src/test/resources/org/apache/servicemix/components/net/ftp.xml}


Dan

On Tuesday 10 July 2007 10:25, Gert Vanthienen wrote:
> L.S.,
>
>
> Some of our documentation pages use Confluence's snippet macro to
> include code sample (e.g.
> http://incubator.apache.org/servicemix/ftp.html).  Currently, this
> macro doesn't seem to work any more:
>     Error formatting macro: snippet:
> java.lang.IllegalArgumentException: Invalid url: must begin with a
> configured prefix.
>
> We're not alone, apparently the Struts team has the same problem (e.g.
> http://struts.apache.org/2.0.5/docs/conversion-validator.html).  A
> quick search on the web seems to indicate that this is some kind of
> confguration problem with the snippet macro.  Who can administer the
> Confluence instance that hosts our website to resolve this issue?
>
>
> Gert

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog


Error formatting macro: snippet

2007-07-10 Thread Gert Vanthienen

L.S.,


Some of our documentation pages use Confluence's snippet macro to 
include code sample (e.g. 
http://incubator.apache.org/servicemix/ftp.html).  Currently, this macro 
doesn't seem to work any more:
   Error formatting macro: snippet: java.lang.IllegalArgumentException: 
Invalid url: must begin with a configured prefix.


We're not alone, apparently the Struts team has the same problem (e.g. 
http://struts.apache.org/2.0.5/docs/conversion-validator.html).  A quick 
search on the web seems to indicate that this is some kind of 
confguration problem with the snippet macro.  Who can administer the 
Confluence instance that hosts our website to resolve this issue?



Gert