The first thing I'd do is run your transformation through one of (or all of) the rest of the XSL engines out there. There's a lot more variability out there in XSL engines. Unfortunately, Sablotron isn't the most conformant of the field. I haven't used Sablotron in a while for XSLT processing so am not sure of your specific question. I left Sablotron behind for reasons like this one. It fails on a great many transformations that run through Xalan, Saxon and MSXML identically with no errors. My general rule is if it blows up all XSLT engines, it's probably my XSLT. If Sablotron's the only one that chokes, it's Sablotron. The new API for XSLT should allow for the other engines, however, I haven't seen anything on putting the rest of them into the equation, yet.
"Alexander GräF" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > hi, > > when im using <xsl:output encoding="ISO-8859-1"> i get > > Sablotron error on line 1: unknown encoding 'ISO-8859-1' in .... on line ... > > but i think iso-8859-1, utf-8, etc. support must be build in. in addition, > when i try to include an external xsl with <xsl:include href="..." /> or a > xml file with "document()", no matter what encoding the target-file has, i > get the following error: > > Sablotron error on line 1: unknown encoding '' in .... on line ... > > yes, the position where the unknown encoding has to appear is empty, he says > he does not know an unknown encoding ... how can i use the including > functions, and how can i use iso-8859-1 as output encoding (the only > workarround would be to convert the output encoding from utf-8 to iso-8859-1 > with iconv, but this isnt the way i thought a xml-parser has to work ...) > > configuration: > > apache: > Server Version: Apache/1.3.23 (Win32) PHP/4.1.1 DAV/1.0.3-dev > Server Built: Jan 24 2002 20:30:48 > > server: > Windows 2000 Server, SP2 > 2 GB RAM, dual-xeon 933 mhz > > php-info: > System: Windows NT 5.0 build 2195 > Build Date: Dec 30 2001 > Thread Safety: enabled > ZEND_DEBUG: enabled > Configuration File (php.ini) Path: C:\WINNT\php.ini > Virtual Directory Support: enabled > > This program makes use of the Zend Scripting Language Engine: > Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies > with Zend Optimizer v1.2.0, Copyright (c) 1998-2001, by Zend > Technologies > > XSLT support: enabled > iconv support: enabled > XML Support: active > XML Namespace Support: active > EXPAT Version: 1.95.2 > > > ;Windows Extensions > ;Note that MySQL and ODBC support is now built in, so no dll is needed for > it. > ; > ;extension=php_bz2.dll > ;extension=php_ctype.dll > extension=php_cpdf.dll > extension=php_curl.dll > ;extension=php_cybercash.dll > ;extension=php_db.dll > ;extension=php_dba.dll > ;extension=php_dbase.dll > ;extension=php_dbx.dll > extension=php_domxml.dll > ;extension=php_dotnet.dll > ;extension=php_exif.dll > ;extension=php_fbsql.dll > ;extension=php_fdf.dll > ;extension=php_filepro.dll > ;extension=php_gd.dll > ;extension=php_gettext.dll > ;extension=php_hyperwave.dll > extension=php_iconv.dll > ;extension=php_ifx.dll > ;extension=php_iisfunc.dll > ;extension=php_imap.dll > ;extension=php_ingres.dll > ;extension=php_interbase.dll > ;extension=php_java.dll > ;extension=php_ldap.dll > ;extension=php_mbstring.dll > ;extension=php_mcrypt.dll > extension=php_mhash.dll > extension=php_ming.dll > ;extension=php_mssql.dll > ;extension=php_oci8.dll > ;extension=php_openssl.dll > ;extension=php_oracle.dll > extension=php_pdf.dll > ;extension=php_pgsql.dll > ;extension=php_printer.dll > ;extension=php_sablot.dll > ;extension=php_shmop.dll > ;extension=php_snmp.dll > extension=php_sockets.dll > ;extension=php_sybase_ct.dll > extension=php_xslt.dll > ;extension=php_yaz.dll > extension=php_zlib.dll > > > > thanks in advance > alex > > ______________________________________________ > > alexander gräf > [EMAIL PROTECTED] > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php