You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Manfred Moser <ma...@cardiocomm.com> on 2006/07/24 23:53:15 UTC

M2 URLs with & in xdoc files

Hi!

I am trying to get a url like
http://www.somewhere.net/test=yes&id=12
to be reproduecd on the output of an xdoc.

My xdoc section would look like
<a href="http://www.somewhere.net/test=yes&id=12">test</a>
however that invalidates the xml and processing fails.

Using
<a href="http://www.somewhere.net/test=yes%amp;id=12">test</a>
just leaves the url as it is, which doesnt work either.

Supposedly in M1 you can put "&" but that does not seem to work in M2.

What am I missing? Shouldn't this be simple.

Manfred


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


Re: M2 URLs with & in xdoc files

Posted by Manfred Moser <ma...@cardiocomm.com>.
Denis Cabasson wrote:
> 
> Manfred Moser-2 wrote:
>> Using
>>  http://www.somewhere.net/test=yes%amp;id=12 test 
>> just leaves the url as it is, which doesnt work either.
>>
>> Supposedly in M1 you can put "&" but that does not seem to work in M2.
>>
>> What am I missing? Shouldn't this be simple.
>>
> 
> Correct XML syntax would require:
> http://www.somewhere.net/test=yes&amp;id=12 test 
> 
> Have you tried this (was the % a typo error)?

Thanks Denis.

That worked. Don't ask me why I had a % instead of a & there...

manfred

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


Re: M2 URLs with & in xdoc files

Posted by Denis Cabasson <de...@insee.fr>.

Manfred Moser-2 wrote:
> 
> Using
>  http://www.somewhere.net/test=yes%amp;id=12 test 
> just leaves the url as it is, which doesnt work either.
> 
> Supposedly in M1 you can put "&" but that does not seem to work in M2.
> 
> What am I missing? Shouldn't this be simple.
> 

Correct XML syntax would require:
a href="http://www.somewhere.net/test=yes&amp;id=12">test 

Have you tried this (was the % a typo error)?

Denis.

-- 
View this message in context: http://www.nabble.com/M2-URLs-with---in-xdoc-files-tf1995074.html#a5481099
Sent from the Maven - Users forum at Nabble.com.


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


Re: M2 URLs with & in xdoc files

Posted by Denis Cabasson <de...@insee.fr>.

Manfred Moser-2 wrote:
> 
> Using
>  http://www.somewhere.net/test=yes%amp;id=12 test 
> just leaves the url as it is, which doesnt work either.
> 
> Supposedly in M1 you can put "&" but that does not seem to work in M2.
> 
> What am I missing? Shouldn't this be simple.
> 

Correct XML syntax would require:
http://www.somewhere.net/test=yes&amp;id=12 test 

Have you tried this (was the % a typo error)?

Denis.

-- 
View this message in context: http://www.nabble.com/M2-URLs-with---in-xdoc-files-tf1995074.html#a5481099
Sent from the Maven - Users forum at Nabble.com.


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