Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12
2010 01 02 03 04 05 06 07 08 09 10 11 12
2011 01 02 03 04 05 06 07 08 09 10 11 12

  previous   Chronological   next       previous   Thread   next  

Problem with 'local' URLs Richard Leopold
  • From: Richard Leopold <mod-xslt2-users@xxxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: Problem with 'local' URLs
  • Date: Wed, 20 Jul 2005 14:05:29 +0200
  • User-agent: Mutt/1.5.9i


  • MOIn !

    I'm using Apache2 and the 2005071200 snapshot compiled in a Debian
    package build environment (unstable) ... enabled the debug stuff ...
    The precompiled Debian-package (2004112100) gives the same result.

    It seems that the "local://" URL for an internal request gives an
    empty result.
    Below you see my very simple configuration and the error.log.

    Any suggestions ?

    Regards - Richard

    ## the configuration

    AddType application/xml .xml
    <Location "/xslt-basic/01.xml">
    SetOutputFilter mod-xslt
    XSLTSetStylesheet application/xml "local:///style/xslt-basic/01.xsl"
    </Location>

    ## produces the following error.log:

    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: Unknown IO
    error
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt:
    local:///style/xslt-basic/01.xsl:1:
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: parser
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: error :
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: Document is
    empty [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt:
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: ^
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt:
    local:///style/xslt-basic/01.xsl:1:
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: parser
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: error :
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: Start tag
    expected, '<' not found
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt:
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: ^
    [Wed Jul 20 12:43:59 2005] [error] [client 127.0.0.1] mod_xslt: fatal -
    couldn't load stylesheet for: /sourcepath/t/htdocs/xslt-basic/01.xml
    mxslt_http_recurse_push pushing: /xslt-basic/01.xml
    mxslt_doc_param_urlparse decoding args: (null)
    mxslt_doc_load document: b74f982c, filename:
    /sourcepath/t/htdocs/xslt-basic/01.xml, hostname: localhost, port: 8529,
    path: /xslt-basic/01.xml
    mxslt_doc_xml_parse xmlCreateMemoryParserCtxt
    mxslt_doc_xml_parse replace entities: 00000001
    mxslt_doc_load_stylesheet href: local:///style/xslt-basic/01.xsl
    mxslt_doc_load_stylesheet not mangling URL
    mxslt_doc_load_stylesheet_file base: /sourcepath/t/htdocs/xslt-basic/01.xml,
    URI->server: (null), URI->path: /style/xslt-basic/01.xsl
    mxslt_doc_load_stylesheet_file stylesheet: local:///style/xslt-basic/01.xsl
    (URL)
    mxslt_doc_xml_load_entity xmlCreateMemoryParserCtxt
    mxslt_doc_xml_load_entity replace entities: 00000001
    mxslt_http_recurse_pop popping: /xslt-basic/01.xml


      Powered by Sympa