Subject:internal DTD with external entity Author:Hans-Peter Küchler Date:01 Oct 2002 04:45 PM
I'm using the following snipped in a stylesheet:
<!DOCTYPE xsl:stylesheet [
<!ENTITY file SYSTEM "Daten.txt">]>
Referencing the entity file in the stylesheet with the internal debugger works fine. But if I change the file Daten.txt (outside with an editor or direct in SS) and save the file, the internal debugger doesn't use the new content of Daten.txt but the old one.
Subject:Re: internal DTD with external entity Author:Minollo I. Date:01 Oct 2002 05:25 PM
That's a current limitation of Stylus; the information about files
referenced by DTD external entities are not refreshed unless the document
containing them is changed. It could be pretty expensive to monitor all the=
external entities...
In order to "force" a refresh of the modified Daten.txt file, you will need=
to force a recompilation of the document containing it, the XSLT document
in this case; just add/remove a space or force any simple change in the
stylesheet, and you will have access to the modified external entity.
This is already marked as a bug in our database.
Thanks,
Minollo
At 05:00 PM 10/1/2002 -0400, you wrote:
>From: "Hans-Peter Küchler"
>
>I'm using the following snipped in a stylesheet:
><!DOCTYPE xsl:stylesheet [
><!ENTITY file SYSTEM "Daten.txt">]>
>Referencing the entity file in the stylesheet with the internal debugger
>works fine. But if I change the file Daten.txt (outside with an editor or=
>direct in SS) and save the file, the internal debugger doesn't use the new=
>content of Daten.txt but the old one.
>
>regards, Hans-Peter Küchler
>
>
>
>To reply: mailto:stylus-studio-tech.5708@edn.exln.com
>To start a new topic: mailto:stylus-studio-tech@edn.exln.com
>To login: http://edn.exln.com/~SSDN