> I have one question though - if I want to do string-based comparisons of > a stylesheet parameter (which will always be UTF-16-encoded) within my > Stylesheet (which happens to be us_ascii/ISO-8859-1-encoded), then I am > thinking the comparisons are likely to fail (for e.g parameter=="true" > then do this). Isn't that true? Is there a workaround in that case?
You will need to be more specific about what data you'll be using from "within your stylesheet". Any character data in the stylesheet will have been transcoded to and stored in UTF-16. > Btw, what is the reason XalanTransformer is designed to use UTF-8 as the > default (for output encoding) but XalanDOMString uses UTF-16 (for input > encoding)? I don't understand this comment. XalanTransformer has not been designed to use UTF-8 as the default. Rather, the entire system uses UTF-16 internally. Why is it you think XalanTransformer uses UTF-8? Dave
