You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Artur Bialecki <ar...@digitalfairway.com> on 2002/05/03 18:13:34 UTC
Sitemap problem with newest xalan
Well, new xalan is not out yet but because of some
major bugs in 2.3.1 I'm forced to use the head
of xml-xalan. However, when I use the head version
of xalan the sitemap_xmap.java is not generated
correctly, but only in the context of cocoon.
What happens is that patterns and some other information
that comes from sitemap tag attributes is missing.
For example in my sitemap_xmap.java I have (- comments/empty lines)
/** Prepare patterns of PreparableMatchers. */
public void prepareMatchers() throws Exception {
this.matcher_N101EE_expr = this.preparePattern("wildcard", "oem/**");
this.matcher_N101F7_expr = this.preparePattern("wildcard", "");
this.matcher_N10200_expr = this.preparePattern("wildcard", "");
this.matcher_N10209_expr = this.preparePattern("wildcard", "");
this.matcher_N10212_expr = this.preparePattern("wildcard", "");
this.matcher_N1021B_expr = this.preparePattern("wildcard", "");
this.matcher_N10224_expr = this.preparePattern("wildcard", "");
this.matcher_N1022D_expr = this.preparePattern("wildcard", "");
this.matcher_N1023A_expr = this.preparePattern("wildcard", "");
}
instead of:
/** Prepare patterns of PreparableMatchers. */
public void prepareMatchers() throws Exception {
this.matcher_N400210_expr = this.preparePattern("wildcard", "oem/**");
this.matcher_N400219_expr = this.preparePattern("wildcard", "im/**");
this.matcher_N400222_expr = this.preparePattern("wildcard", "sem/**");
this.matcher_N40022B_expr = this.preparePattern("wildcard", "nice/**");
this.matcher_N400234_expr = this.preparePattern("wildcard", "shared/**");
this.matcher_N40023D_expr = this.preparePattern("wildcard", "pm/**");
this.matcher_N400246_expr = this.preparePattern("wildcard", "dtm/**");
this.matcher_N400251_expr = this.preparePattern("wildcard", "**.xml");
this.matcher_N40025E_expr = this.preparePattern("wildcard", "**/");
}
When I run my sitemap.xmap with sitemap.xsl through the newer
xalan manually the generated java file is correct.
What's different in the way xalan is run from Cocoon?
Thanks,
Artur...
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: Sitemap problem with newest xalan
Posted by Artur Bialecki <ar...@digitalfairway.com>.
> -----Original Message-----
> From: Peter Royal [mailto:proyal@apache.org]
> Sent: Monday, May 06, 2002 11:22 AM
> To: cocoon-dev@xml.apache.org
> Subject: Re: Sitemap problem with newest xalan
>
>
> On Friday 03 May 2002 02:34 pm, Vadim Gritsenko wrote:
> > > On Friday 03 May 2002 12:13 pm, Artur Bialecki wrote:
> > > > Well, new xalan is not out yet but because of some
> > > > major bugs in 2.3.1 I'm forced to use the head
> > > > of xml-xalan. However, when I use the head version
> > > > of xalan the sitemap_xmap.java is not generated
> > > > correctly, but only in the context of cocoon.
> > >
> > > It might be this bug:
> > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7776
> >
> > Did you get follow up on this? This bug bothers me also :-/
>
> Not yet. Someone else experienced it and tracked it down a bit (and included
> a patch!) but no word from any xalan team member yet.
> -pete
>
I tried the patch and it sort of "fixed" this problem but I encoutered
other similar problems which might be related.
Artur...
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Sitemap problem with newest xalan
Posted by Peter Royal <pr...@apache.org>.
On Friday 03 May 2002 02:34 pm, Vadim Gritsenko wrote:
> > On Friday 03 May 2002 12:13 pm, Artur Bialecki wrote:
> > > Well, new xalan is not out yet but because of some
> > > major bugs in 2.3.1 I'm forced to use the head
> > > of xml-xalan. However, when I use the head version
> > > of xalan the sitemap_xmap.java is not generated
> > > correctly, but only in the context of cocoon.
> >
> > It might be this bug:
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7776
>
> Did you get follow up on this? This bug bothers me also :-/
Not yet. Someone else experienced it and tracked it down a bit (and included
a patch!) but no word from any xalan team member yet.
-pete
--
peter royal -> proyal@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: Sitemap problem with newest xalan
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Peter Royal [mailto:proyal@apache.org]
>
> On Friday 03 May 2002 12:13 pm, Artur Bialecki wrote:
> > Well, new xalan is not out yet but because of some
> > major bugs in 2.3.1 I'm forced to use the head
> > of xml-xalan. However, when I use the head version
> > of xalan the sitemap_xmap.java is not generated
> > correctly, but only in the context of cocoon.
>
> It might be this bug:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7776
> -pete
Did you get follow up on this? This bug bothers me also :-/
Vadim
--
Resistance is futile.
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Sitemap problem with newest xalan
Posted by Peter Royal <pr...@apache.org>.
On Friday 03 May 2002 12:13 pm, Artur Bialecki wrote:
> Well, new xalan is not out yet but because of some
> major bugs in 2.3.1 I'm forced to use the head
> of xml-xalan. However, when I use the head version
> of xalan the sitemap_xmap.java is not generated
> correctly, but only in the context of cocoon.
It might be this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7776
-pete
--
peter royal -> proyal@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org