You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/16 23:28:39 UTC

DO NOT REPLY [Bug 3471] - xsltc fails conf test reluri11 level3/xreluri09a.xml not found

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3471>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3471

xsltc fails conf test reluri11 level3/xreluri09a.xml not found





------- Additional Comments From tom.amiro@sun.com  2001-10-16 14:28 -------
The crux of this test is:

 select="document(document('level1/level2/xreluri11b.xml')/*/filename)/*/body

The contents of level1/level2/xreluri11b.xml are:

<?xml version="1.0"?>
<!-- This file is used by reluri11. Do not remove from this directory. -->
<doc>
  <filename>level3/xreluri09a.xml</filename>
</doc> 

and the contents of level3/xreluri09a.xml are

<?xml version="1.0"?>
<first>
        <body>Watching the game, having a bud</body>
</first>

I remember there was a bug closed as Willnotfix, saying that a translet
should not be expected to remember where is was located when it was 
compiled.  I'm not sure if this test is the same situation. It does 
require the directory structure relative to the translet when it 
was compiled to be the same at runtime. 

When you use TrAX with XSLTC and create a Templates object there may be 
a problem supporting document() functions with relative URIs. Does the 
templates object store the location of the directory in which resides the
stylesheet which was compiled into a templates object?   

I tried to run the reluri conf test with Xalan over TrAX and although 
there was a problem finding the gold files, the results seemed to show 
that Xalan was able to get the correct answer on reluri13.