[ expat-Bugs-595532 ] xmlwf -x not reading the external DTD

noreply@sourceforge.net noreply@sourceforge.net
Thu Aug 15 07:26:02 2002


Bugs item #595532, was opened at 2002-08-15 16:25
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=595532&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michel Rodriguez (mirod)
Assigned to: Nobody/Anonymous (nobody)
Summary: xmlwf -x not reading the external DTD

Initial Comment:
xmlwf test_ext_ent.xml gives me an error on an
undefined entity despite it being defined in the
(external) DTD

>xmlwf -x test_ext_ent.xml
test_ext_ent.xml:2:5: undefined entity

--- test_ext_ent.xml ---
<?xml  version="1.0"  standalone="no"?>
<!DOCTYPE doc SYSTEM "test_ext_ent.dtd">
<doc>&ent;</doc>

--- test_ext_ent.dtd ---
<!ELEMENT doc (#PCDATA)>
<!ENTITY ent  'expanded entity'>

It has no problem if I do xmlwf -p test_ext_ent.xml

Shouldn't -x find the entity declaration in the DTD?

That's with expat 1.95.4

--
Michel

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=595532&group_id=10127