473,387 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

netscap / IE external entities

Can someone give me the lowdown on the way these two browsers deal with
the following

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="datadump.css"?>
<!DOCTYPE datadump [
<!ENTITY sig SYSTEM "signature.xml">
<!ENTITY txt "this is an entity">
<!ELEMENT datadump (name)>
<!ELEMENT name (first,last)>
<!ELEMENT first (#PCDATA)>
<!ELEMENT last (signature)>
<!ELEMENT signature (#PCDATA)>
]>
<datadump>
<name>
<first>&txt;</first>
<last>&sig;</last>
</name>
</datadump>

In IE, without a style sheet, the document tree shows the signature
element within the last element. With a stylesheet, IE only displays
the signature content. Just by having an external entity, IE seems to
only display that content and nothing else.

In Netscape, without a stylesheet the document tree shows last as any
empty element.

In other words, in differing ways, neither is doing as I would expect,
insert the external entity where I want it while being styled according
to my specification.

xmlvalid says the xml is valid so I figure it is a difference in how the
browsers treat external entities.

Jul 20 '05 #1
0 1322

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert Lintner | last post by:
Hi, I woult like to switch from DTD to XML-Schema and am looking for an equivalent to external ENTITY for composition of an xml file from modules --- my.dtd -- <?xml version="1.0"...
11
by: Douglas Reith | last post by:
Hi There, Can someone please tell me why the XML spec states that an attribute value with an external entity is forbidden? Or point me to the appropriate document? Or better still, perhaps you...
4
by: blu4899 | last post by:
Hi, The Xerces XML parser is reading external DTD references in DOCTYPEs by default, but is not doing anything with them because validation is turned off by default. This is documented in...
3
by: shawn modersohn | last post by:
I got, <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Insert GPL copyright notice here --> <!-- <?xml-stylesheet type="text/css" href="exhibits.css"?> --> <!DOCTYPE exhibits PUBLIC...
47
by: Richard Hayden | last post by:
Hi, I have the following code: /******************************** file1.c #include <iostream> extern void dummy(); inline int testfunc() {
0
by: Tom | last post by:
I need to modify a DocBook file with several other XML files included as an ENTITY reference. Like <!DOCTYPE book SYSTEM "PathToMyDTD" > <book> &file1; &file2; &file3; </book>
2
by: msnews.microsoft.com | last post by:
Hi Every Body, I have build the website in asp.net using vb.net. I use the asp.net validation controls for client side validation. When I run the site in Internet Explorer, It run properly and...
0
by: David.NQD | last post by:
Hi, I have a question about PHP5's DOM, but I found the docs on this section are either incomplete or incorrect (e.g. wrong return types for several functions). How can external entities, or...
1
Dormilich
by: Dormilich | last post by:
Hi, I got a strange behaviour (FF 3) of entities in my xml files. I have an element (see xml listing), where the attribute/content contains a latin1 entity (&ouml;), but FF throws an error...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.