Subject: Re: File Entity Behaviour
From: "Betty L. Harvey" <harvey@xxxxxxxxxxxxxxxxx>
Date: Tue, 28 Sep 1999 23:21:24 -0400 (EDT)
|
It works fine without the XSL stylesheet. When I add the
XSL stylesheet is when I am experiencing the problem.
I knew that file entities don't work with CSS but I
thought they would work with XSL. If you have a file
entity and CSS, IE 5.0 only displays the file entity
and not the rest of the file.
EXAMPLE:
File without CSS:
http://www.eccnet.com/sgmlug/xml-browsers/poem/raven.xml
Same file with CSS stylesheet:
http://www.eccnet.com/sgmlug/xml-browsers/poem/raven-css.xml
This is the same file with XSL but I only have 1 ENTITY.
http://www.eccnet.com/sgmlug/xml-browsers/poem/raven-xsl.xml
Stanza 2 is the file entity.
Thanks.
Betty
On Tue, 28 Sep 1999, Bill Martschenko wrote:
> 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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|