From:             [EMAIL PROTECTED]
Operating system: Windows XP
PHP version:      4.1.2
PHP Bug Type:     XSLT related
Bug description:  XSLT file path issues

I have installed sablotron (as indicated here:
http://shanx.com/php/xsl/getXsl.htm) and XSLT itself seems to be working.
However, I have a problem with file paths, or rather where I need to put
the XSL and the XML files. 

My directory structure is like this:

    webroot = c:\apache\htdocs
    phproot = c:\apache\php

Let us say that I try my XSLT samples in:

    c:\apache\htdocs\xsltest

    (sample code at the link above)
 
I try putting my xsl files (1.xsl, 1.xml) into this folder but it doesnt
work and gives me an error that tells me that the files cannot be found in
"c:\apache\php". Which is the phproot! 

When I put the files in "c:\apache\php" (phproot) it works.

Why does php_xslt.dll expect the files to be in PHP root rather than the
document folder? How can i change this to be able to pick up files from
the document root ("htdocs/xsltest" in my example) itself?

Thanks,
Shanx


-- 
Edit bug report at http://bugs.php.net/?id=16228&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16228&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16228&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16228&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16228&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16228&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16228&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16228&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16228&r=submittedtwice

Reply via email to