[xml] PEReferences troubles



OK, I'm trying to sort out what's going here.

As a first problem, see the attached example. 
Trying to parse with:
xmllint --noent --valid
gives the error message "xmlParseEntityDecl: no name"
for %xdef;

I tested on WinNT  with a Watcom compiled snapshot from
today and with Igor's 2.4.19

Questions:
- this example is valid, or am I totally confused by now?
- same error on Linux?

Regards,
Peter Jacobi


<?xml version='1.0'?>
<!DOCTYPE root SYSTEM 't6.dtd'>
<root>&abc;</root>
<!ENTITY % xdef "def">
<!ENTITY % %xdef; "ghi">
<!ENTITY abc "%def;">
<!ELEMENT root (#PCDATA)>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]