vgritsenko 2003/10/07 09:39:47
Modified: src/java/org/apache/cocoon/serialization LinkSerializer.java
Log:
Add a TODO
Revision Changes Path
1.3 +8 -3
cocoon-2.1/src/java/org/apache/cocoon/serialization/LinkSerializer.java
Index: LinkSerializer.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/serialization/LinkSerializer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- LinkSerializer.java 6 Oct 2003 16:36:15 -0000 1.2
+++ LinkSerializer.java 7 Oct 2003 16:39:47 -0000 1.3
@@ -87,13 +87,17 @@
public void simpleLink(String href, String role, String arcrole, String
title, String show, String actuate, String uri, String name, String raw,
Attributes attr)
throws SAXException {
- if (traversable(href)) this.print(href);
+ if (traversable(href)) {
+ print(href);
+ }
super.simpleLink(href, role, arcrole, title, show, actuate, uri,
name, raw, attr);
}
public void startLocator(String href, String role, String title, String
label, String uri, String name, String raw, Attributes attr)
throws SAXException {
- if (traversable(href)) this.print(href);
+ if (traversable(href)) {
+ print(href);
+ }
super.startLocator(href, role, title, label, uri, name, raw, attr);
}
@@ -110,6 +114,7 @@
private void print(String href) {
int ankerPos = href.indexOf('#');
if (ankerPos == -1) {
+ // TODO: Xalan encodes international characters into URL encoding
out.println(href);
} else {
out.println(href.substring(0, ankerPos));