From ebc11a34254ceddef37408aeb6ecebcaeb743ddb Mon Sep 17 00:00:00 2001 From: eg3p Date: Fri, 15 Jul 2005 01:29:31 +0000 Subject: [PATCH] edited the javadocs to mention specific XSLT vendors. also removed remark worrying about whether convertEwtsTo should be concerned about what kind of String it returns; no, it need not: it is just a java.lang.String which will be treated as such and converted to an XSL String in the appropriate encoding by the XSLT processor. --- .../org/thdl/tib/text/ttt/EwtsToUnicodeForXslt.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/org/thdl/tib/text/ttt/EwtsToUnicodeForXslt.java b/source/org/thdl/tib/text/ttt/EwtsToUnicodeForXslt.java index 4f0d081..fed555b 100644 --- a/source/org/thdl/tib/text/ttt/EwtsToUnicodeForXslt.java +++ b/source/org/thdl/tib/text/ttt/EwtsToUnicodeForXslt.java @@ -19,10 +19,11 @@ Contributor(s): ______________________________________. package org.thdl.tib.text.ttt; /** A class for use in XSL transformations that converts EWTS - * transliteration to Unicode. This is intended to be used by Xalan - * XSLT to convert an XML document that uses Wylie into - * HTML/text/whatever that uses Unicode (probably TibetanMachineUni - * font). + * transliteration to Unicode. Note that the syntax for + * calling Java extensions from XSL is vendor-specific; + * for more details, please consult the documentation for the + * XSLT processor you use, for example Saxon or + * Xalan-Java. * @author David Chandler */ public class EwtsToUnicodeForXslt { @@ -32,8 +33,7 @@ public class EwtsToUnicodeForXslt { } /** Converts EWTS transliteration into Tibetan Unicode. - * TODO(dchandler): must we worry about the encoding, UTF-8 - * vs. UTF-16LE e.g.? */ + */ public static String convertEwtsTo(String ewts) { return TConverter.convertToUnicodeText(EWTSTraits.instance(), ewts,