Re: [xslt] Bug with the document("") function



On Wed, Jun 19, 2002 at 10:18:35AM +0200, Eric van der Vlist wrote:
> Hi,
> 
> I have found a bug in 4xslt and it looks like 50% of this bug is also
> affecting libxslt :-)
[..]
> 2) The whitespaces have been striped which is not conform to the XSLT
> recommendation that says:
[..]
> I think that this has been discussed on the xsl-list and that the
> conclusion was that processors might need to parse the stylesheet again
> when document("") is used. If I remember correctly, Mike Kay said that
> there is no performance gain in using document("") over an external
> document since the stylesheet was being reparsed anyway.

  Sure sounds reasonable, this also remove a specific case in the code :-)
Fixed in CVS:

http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=06%2F19%2F02+07%3A41&maxdate=06%2F19%2F02+07%3A43&cvsroot=%2Fcvs%2Fgnome

   thanks for the report !

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]