Hi AxKit users, I have a problem with parsing external entities and hope, someone can help.
I use XML files which use entities like "Ö", "ä" in Attributes: <PassportInfoCountry Name="Österreich"> <PassportRequired>1</PassportRequired> <VisaRequired>Nein</VisaRequired> <ReturnTicketRequired>Nein</ReturnTicketRequired> </PassportInfoCountry> These are defined in an external DTD, which is referenced in the XML files (<!DOCTYPE WTG SYSTEM "WTGData.dtd">). But AxKit complains when parsing the files: ---- from apache error log -------- [Wed Sep 4 13:44:25 2002] [error] [client 192.168.0.21] [AxKit] [Error] xmlParse returned error: 29, Attribute references external entity 'Ouml' Attribute references external entity 'auml' [Wed Sep 4 13:44:25 2002] [error] [client 192.168.0.21] [AxKit] From: /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/Apache/AxKit/Exception.pm : 9 ------------------------------------ When transforming the file directly with XML-LibXML and XML-LibXSLT via perl, the parser doesn't complain and resolves the entities as wanted.... My configuration: FreeBSD 4.3 Apache/1.3.22 AxKit 1.6 XML-LibXML 1.52 XML-LibXSLT 1.52 xsltproc says: Using libxml 20422, libxslt 10014 and libexslt 705 My httpd.conf: PerlModule AxKit AddHandler axkit .xml AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT AxNocache on Thanks for your help. Yours Joachim Seibert [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
