R
Romeo Disca
Hello newsgroup,
i'm new to xml - what's wrong with this piece code here?
i have these two files:
test.xml
----
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE a SYSTEM "test.ent" [
<!ELEMENT a (ANY)>
<!ATTLIST a
xmlns:xxx CDATA #FIXED "hello"]>
<a xmlns:xxx="hello">
&hello;
</a>
====
test.ent
----
<?xml version="1.0" encoding="utf-8"?>
<!ENTITY % prefix "xxx:">
<!ENTITY hello "<%prefix;hello/>">
====
The IE6 throws the error 'Reference to undeclared namespace prefix'.
If i change the the prefix to '<!ENTITY % prefix "">' the output is
----
<a xmlns:xxx="hello">
<hello/>
</a>
====
What am I missing?
Thanks. romeo
i'm new to xml - what's wrong with this piece code here?
i have these two files:
test.xml
----
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE a SYSTEM "test.ent" [
<!ELEMENT a (ANY)>
<!ATTLIST a
xmlns:xxx CDATA #FIXED "hello"]>
<a xmlns:xxx="hello">
&hello;
</a>
====
test.ent
----
<?xml version="1.0" encoding="utf-8"?>
<!ENTITY % prefix "xxx:">
<!ENTITY hello "<%prefix;hello/>">
====
The IE6 throws the error 'Reference to undeclared namespace prefix'.
If i change the the prefix to '<!ENTITY % prefix "">' the output is
----
<a xmlns:xxx="hello">
<hello/>
</a>
====
What am I missing?
Thanks. romeo