cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artur Bialecki" <ar...@digitalfairway.com>
Subject Sitemap problem with newest xalan
Date Fri, 03 May 2002 16:13:34 GMT

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


Mime
View raw message