You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Henri Yandell <ba...@generationjava.com> on 2002/11/26 00:17:09 UTC

[xdocs] Bug report (fwd)

I originally mentioned this on the Commons list, but as xdocs are used
pretty heavily across Jakarta, I thought I'd try here too.

I have a bug with the site generation. Either that or user-stupidity.

I want a url in the xdoc file which has &'s in.

If I just do it the html way, xdocs aren't handled as the parser complains
about them and doesn't do an output file.
If I do them the xml way and make them &amp;, then the generator doesn't
properly turn them into &'s again for the html.

Is there a solution? The url in question is the evil:

http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Commons&component=Lang&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time

Hen


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [xdocs] Bug report (fwd)

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Henri Yandell <ba...@generationjava.com> writes:

> On Mon, 25 Nov 2002, Craig R. McClanahan wrote:
> 
> >
> >
> > On Mon, 25 Nov 2002, Henri Yandell wrote:
> >
> > > Date: Mon, 25 Nov 2002 18:17:09 -0500 (EST)
> > > From: Henri Yandell <ba...@generationjava.com>
> > > Reply-To: Jakarta General List <ge...@jakarta.apache.org>
> > > To: Jakarta General List <ge...@jakarta.apache.org>
> > > Subject: [xdocs] Bug report (fwd)
> > >
> > >
> > > I originally mentioned this on the Commons list, but as xdocs are used
> > > pretty heavily across Jakarta, I thought I'd try here too.
> > >
> > > I have a bug with the site generation. Either that or user-stupidity.
> > >
> > > I want a url in the xdoc file which has &'s in.
> > >
> >
> > What's worked for me is to just use the XML entity (&amp;) instead of the
> > ampersand in cases like this.  Give it a try.
> 
> Ack. Browsers [or W3m] seem to understand &amp; inside an anchor :)

It's still annoying that the XML entities aren't interpolated. :-\
-- 

Daniel Rall <dl...@finemaltcoding.com>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [xdocs] Bug report (fwd)

Posted by Henri Yandell <ba...@generationjava.com>.

On Mon, 25 Nov 2002, Craig R. McClanahan wrote:

>
>
> On Mon, 25 Nov 2002, Henri Yandell wrote:
>
> > Date: Mon, 25 Nov 2002 18:17:09 -0500 (EST)
> > From: Henri Yandell <ba...@generationjava.com>
> > Reply-To: Jakarta General List <ge...@jakarta.apache.org>
> > To: Jakarta General List <ge...@jakarta.apache.org>
> > Subject: [xdocs] Bug report (fwd)
> >
> >
> > I originally mentioned this on the Commons list, but as xdocs are used
> > pretty heavily across Jakarta, I thought I'd try here too.
> >
> > I have a bug with the site generation. Either that or user-stupidity.
> >
> > I want a url in the xdoc file which has &'s in.
> >
>
> What's worked for me is to just use the XML entity (&amp;) instead of the
> ampersand in cases like this.  Give it a try.

Ack. Browsers [or W3m] seem to understand &amp; inside an anchor :)

Cheers,

Hen


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [xdocs] Bug report (fwd)

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 25 Nov 2002, Henri Yandell wrote:

> Date: Mon, 25 Nov 2002 18:17:09 -0500 (EST)
> From: Henri Yandell <ba...@generationjava.com>
> Reply-To: Jakarta General List <ge...@jakarta.apache.org>
> To: Jakarta General List <ge...@jakarta.apache.org>
> Subject: [xdocs] Bug report (fwd)
>
>
> I originally mentioned this on the Commons list, but as xdocs are used
> pretty heavily across Jakarta, I thought I'd try here too.
>
> I have a bug with the site generation. Either that or user-stupidity.
>
> I want a url in the xdoc file which has &'s in.
>

What's worked for me is to just use the XML entity (&amp;) instead of the
ampersand in cases like this.  Give it a try.

> If I just do it the html way, xdocs aren't handled as the parser complains
> about them and doesn't do an output file.
> If I do them the xml way and make them &amp;, then the generator doesn't
> properly turn them into &'s again for the html.
>
> Is there a solution? The url in question is the evil:
>
> http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Commons&component=Lang&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time
>
> Hen

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>