stefano 2002/06/27 10:52:29
Modified: src/scratchpad/src/org/apache/cocoon/transformation/pagination
Paginator.java
Log:
opss, forgot to remove the call to the store method that I removed, now it compiles
fine again.
Revision Changes Path
1.12 +1 -13
xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Paginator.java
Index: Paginator.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Paginator.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Paginator.java 27 Jun 2002 17:45:22 -0000 1.11
+++ Paginator.java 27 Jun 2002 17:52:29 -0000 1.12
@@ -256,18 +256,6 @@
} else {
super.startElement(uri,loc,raw,a);
}
- if (pagesheet.store(uri,loc)) {
- String src = this.request.getSitemapURI();
- String dest = a.getValue("http://www.w3.org/1999/xlink","href");
- int index = src.lastIndexOf('/');
- if (index > 0) {
- if (dest != null) {
- dest = src.substring(0, index + 1) + dest;
- } else {
- dest = src.substring(0, index + 1);
- }
- }
- }
}
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]