You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Manos Batsis <ma...@geekologue.com> on 2007/04/02 18:48:21 UTC

FML and stripped XML entities?

Hello,

Just created a FAQ for my project that includes XML snippets using 
entities like &amp; and &lt;. The less-than and greater-than (&lt;, 
&gt;) entities are stripped from the result HTML document, while 
entities like &quot; are unaffected. Any ideas?

Thanks,

Manos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


CDATA bug in site plugin? (was: Re: FML and stripped XML entities?)

Posted by Manos Batsis <ma...@geekologue.com>.
I wanted to avoid using CDATA but when i did i got a nasty surprise!

After converting the entities to characters and added the CDATA, the
site plugin actually renders CDATA declarations of source elements as
sourcecode, which is a bug.

After some search, i think the entity stripping is fixed in a recent
beta, see

http://jira.codehaus.org/browse/MSITE-156?page=all

Cheers,

Manos

Quoting franz see <fr...@gmail.com>:

>
> Good day to you, Manos,
>
> Try using <![CDATA[...]]>.
>
> Cheers,
> Franz
>
>
> Manos Batsis wrote:
> >
> > Hello,
> >
> > Just created a FAQ for my project that includes XML snippets using
> > entities like &amp; and &lt;. The less-than and greater-than (&lt;,
> > &gt;) entities are stripped from the result HTML document, while
> > entities like &quot; are unaffected. Any ideas?
> >
> > Thanks,
> >
> > Manos
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> --
> View this message in context:
>
http://www.nabble.com/FML-and-stripped-XML-entities--tf3506905s177.html#a9802349
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: FML and stripped XML entities?

Posted by franz see <fr...@gmail.com>.
Good day to you, Manos,

Try using <![CDATA[...]]>.

Cheers,
Franz


Manos Batsis wrote:
> 
> Hello,
> 
> Just created a FAQ for my project that includes XML snippets using 
> entities like &amp; and &lt;. The less-than and greater-than (&lt;, 
> &gt;) entities are stripped from the result HTML document, while 
> entities like &quot; are unaffected. Any ideas?
> 
> Thanks,
> 
> Manos
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/FML-and-stripped-XML-entities--tf3506905s177.html#a9802349
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org