xsl-list
[Top] [All Lists]

RE: How to: Returning HTML Elements From a Saxon Extension Function (6.5.x)

2003-04-22 01:21:57

W. Eliot Kimber wrote:
I discovered it's not quite so simple because the byte array you get 
from String.getBytes() is a UTF-16 byte sequence, but Aelfred (which 
Saxon uses in it's DocumentBuilderImpl) only handles UTF-8, 

Aelfred might, but you could select another parser for stylesheet
and or xml document Eliot.

java  -cp .;\myjava\saxon652.jar;\myjava\xerces.jar com.icl.saxon.StyleSheet
-x org.apache.xerces.parsers.SAXParser -y
org.apache.xerces.parsers.SAXParser -w2 -o %3   %1  %2 "saxon.extensions=1"
%4 %5 %6

uses xerces for both.

HTH DaveP

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>
  • RE: How to: Returning HTML Elements From a Saxon Extension Function (6.5.x), David . Pawson <=