Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTD and Document

Status
Not open for further replies.

gego

Technical User
Jan 25, 2005
1
HR
I have problem with Entity definition.
____________________________________________
my file "test.xml"
----
<?xml version="1.0" ?>
<!DOCTYPE message [
<!ENTITY % PE "TEST1" >
<!ENTITY Ep "%PE;" >
]>
<message>&Ep;</message>
----
IE6 Error mesage ????
'Parameter entities cannot be used inside markup declarations in an internal subset.
<!ENTITY Ep "%PE;" >
------------^'
_______________________________________________
But this is OK
------
my file "test_.xml"

<?xml version="1.0" ?>
<!DOCTYPE message [
<!ENTITY % PExt SYSTEM "PExt.dtd" >
%PExt;
]>
<message>&Ep;</message>
------
File "PExt.dtd"

<!ENTITY % PE "TEST1" >
<!ENTITY Ep "%PE;" >
-----
IE6

<?xml version="1.0" ?>
<!DOCTYPE message (View Source for full doctype...)>
<message>TEST1</message>
_______________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top