You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2007/01/13 15:41:21 UTC

[jira] Closed: (DOXIA-77) Snippets do not work in xdoc

     [ http://jira.codehaus.org/browse/DOXIA-77?page=all ]

Vincent Siveton closed DOXIA-77.
--------------------------------

    Resolution: Fixed

It is not snippet tag but macro.
Fixed the macro tag in svn. Here is a sample:

{noformat}
<macro name="snippet" id="superpom" url="http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml"/>{noformat}


> Snippets do not work in xdoc
> ----------------------------
>
>                 Key: DOXIA-77
>                 URL: http://jira.codehaus.org/browse/DOXIA-77
>             Project: doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0
>            Reporter: Wendy Smoak
>         Assigned To: Vincent Siveton
>             Fix For: 1.0
>
>
> While this works fine in apt...
> {noformat}
> %{snippet|id=superpom|url=http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml}
> {noformat}
> ... the corresponding tag in xdoc does not.  Instead of including the content, the <snippet> tag comes through to the HTML.
> {noformat}
> <snippet id="superpom" url="http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml"/>
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira