ID:               16228
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
-Bug Type:         Documentation problem
+Bug Type:         XSLT related
 Operating System: Any
 PHP Version:      4.3.0-dev
 Assigned To:      msopacua
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

The unexpected behavior has been fixed.


Previous Comments:
------------------------------------------------------------------------

[2002-10-31 04:08:52] [EMAIL PROTECTED]

When I used absolute path like:
c:/apache/htdocs/xsltest/1.xsl , I got a warning:
Sablotron error on line 1: XML parser error 4: not well-formed (invalid
token) in ...  It seems to me absolute path won't work either.

------------------------------------------------------------------------

[2002-10-28 10:55:29] [EMAIL PROTECTED]

This is really a documentation problem - not an interface problem...

------------------------------------------------------------------------

[2002-10-08 13:52:40] [EMAIL PROTECTED]

It's not *only* a doc problem.

There are/were some issues with how Sablotron resolves the current
working dir for the various lookups.
It's now being discussed with Ginger Alliance and will be fixed in
forthcoming 4.3.

In addition these rules will be documented properly, when they are
agreed upon and worked out. They should be intuitive as described by
[EMAIL PROTECTED] and that is the goal. There are however 3
types of relative paths in the entire transformation process:
1) entities and DTD's in data documents
2) documents via the document()/xsl:include etc. directives, in the
stylesheet
3) entities and DTD's in the documents fetched in the documents in 1)
and 2) -> recursive.

------------------------------------------------------------------------

[2002-10-08 08:17:38] [EMAIL PROTECTED]

I experienced this issue, too and solved it using xslt_set_base().

Anyway I think that this should default to the actual script-dir (like
$PHP_SELF or something) so that you can use relative paths without
having to worry about setting the paths right.

------------------------------------------------------------------------

[2002-09-26 01:41:18] [EMAIL PROTECTED]

I also agree, this is not a Decumentations Problem and should be
reclassified. 

There is a bug in the xslt_process code that expects relative paths to
be relative to apache exe's path (i'm using php as a module) eg for me
it looks for files in i:/httpd/apache/. It should be looking in the
path of the current script.

- Mike :-)

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16228

-- 
Edit this bug report at http://bugs.php.net/?id=16228&edit=1

Reply via email to