Subject: Re: File Entity Behaviour
From: Bill Martschenko <billmartschenko@xxxxxxxxx>
Date: Tue, 28 Sep 1999 19:29:07 -0700 (PDT)
|
Betty,
I'm not seeing this behavior in IE 5.00.2314.1003.
Below are the steps and results. Did you follow
different steps?
Bill
What I see in IE when I open test.xml:
-----------------
<!DOCTYPE myfile (View Source for full doctype...)>
- <myfile>
- <a>
<a1>aaaa</a1>
<b1>bbbb</b1>
</a>
- <abc>
- <a>
<a1>aaaa</a1>
<b1>bbbb</b1>
</a>
</abc>
- <def>
"DEF
- <x>
<y1>yyyy</y1>
<z1>zzzz</z1>
</x>
"DEF
</def>
- <x>
<y1>yyyy</y1>
<z1>zzzz</z1>
</x>
</myfile>
-----------------
I'm using the following input files, verbatim:
test.xml
-----------------
<!DOCTYPE myfile [
<!ENTITY item1 SYSTEM "item1.xml">
<!ENTITY item2 SYSTEM "item2.xml">
]>
<myfile>
&item1;
<abc>&item1;</abc>
<def>
DEF&item2;DEF
</def>
&item2;
</myfile>
-----------------
item1.xml
-----------------
<a>
<a1>aaaa</a1>
<b1>bbbb</b1>
</a>
-----------------
item2.xml
-----------------
<x>
<y1>yyyy</y1>
<z1>zzzz</z1>
</x>
-----------------
--- Betty Harvey <harvey@xxxxxxxxxxxxxxxxx> wrote:
> I am experiencing strange behaviour from IE 5.0 and
> File Entities.
>
> If everything is in the file, no file entities, it
> looks
> beautiful.
>
> When I have the following:
>
> <!DOCTYPE myfile [
> <!ENTITY item1 SYSTEM "item1.xml">
> <!ENTITY item2 SYSTEM "item2.xml">
> ]>
> <myfile>
> .
> .
> .
> &item1;
> &item2;
> .
> .
> </myfile>
>
> IE 5.0 displays &item1; and &item2; before the front
> matter of
> the document, then displays it again in the right
> location. Even
> when I take reference to &item1; and &item2; out of
> the
> document document and leave the ENTITY references in
> the document
> they still display, even though they aren't being
> referenced.
>
> Has anyone else experienced this behaviour? If so,
> are there
> any workarounds?
>
> TIA.
>
> Betty
>
>
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey | Phone:
> 301-540-8251 FAX: 4268
> Electronic Commerce Connection, Inc. |
> 13017 Wisteria Drive, P.O. Box 333 |
> Germantown, Md. 20874 |
> harvey@xxxxxxxxxx | Washington,DC
> SGML/XML Users Grp
> URL: http://www.eccnet.com |
> http://www.eccnet.com/sgmlug/
>
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|