On Thu, 27 Jun 2002, Phil Macias wrote: > I made the (above) changes. When I load bleach.axp the browser hangs > and error.log shows: > > [AxKit] fast handler called for /~pim/xml/bleach.axp > [AxKit] Content Provider Override: Apache::AxKit::Provider::File > [AxKit] [req] File Provider given $r: /home/pim/public_html/xml/bleach.axp > [AxKit] checking if we process this resource > [AxKit] media: screen, preferred style: #default > [AxKit] Cache: key = c880ea49a54a40a8daebe9e93eb4ede0 > [AxKit] getting styles and external entities from the XML > [AxKit] styles not cached - calling $provider->get_styles() > [AxKit] using XS get_styles (libxml2) > [AxKit] calling xs_get_styles_fh() > [AxKit] calling xs_get_styles_str() > [AxKit] parse_pi: type = application/axpoint > [AxKit] pi_get_styles: Invalid <?xml-stylesheet?> processing instruction
This should have given you enough clues! The PI should look like: <?xml-stylesheet type="..." href="..."?> - you missed off the href, which is invalid according to the REC that defined this particular PI. Simply have the href="NULL" and everything should (fingers crossed) work. > For refernece, here is bleach.axp once again: > > <?xml version="1.0"?> > <slideshow> > <title>The Secrets of Using Acme::Bleach</title> > <slide> > <title>After</title> > <point level="1">When running a script that uses > Acme::Bleach for the first time, all the distracting > printable characters are removed from your source file > and only the 'use Acme::Bleach' line appears.</point> > <point level="2">The scary part is, the script > still works as before.</point> > <source-code> > use Acme::Bleach; # prints > Bactrian Camel (Camelus bactrianus) > Dromedary, or Arabian Camel (Camelus dromedarius) > ... > </source-code> > </slide> > </slideshow> I don't believe you - the error log indicates the presence of an <?xml-stylesheet?> PI which you've ommitted here. -- <!-- Matt --> <:->Get a smart net</:-> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
