| 
 Hi All, 
I am new to this forum. But I am using libxml and 
oasis catalog for a long time. As far as I have no problem in this. But at 
present, we have receieved a new DTD in this External entity files are called 
within the DTD using PUBLIC. this is as follows: 
<!ENTITY % ISOnum PUBLIC "ISO 8879:1986//ENTITIES 
Numeric and Special Graphic//EN" "XML_entities\ISOnum.ent"> <!ENTITY % ISOpub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "XML_entities\ISOpub.ent"> <!ENTITY % ISOtech PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "XML_entities\ISOtech.ent"> <!ENTITY % ISOdia PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "XML_entities\ISOdia.ent"> ... As same as we followed for other DTDs, I have written something like below 
in my Catalog.xml file: 
        <public publicId="ISO 
8879:1986//ENTITIES Numeric and Special Graphic//EN" 
uri="XML_entities/ISOnum.ent"/> 
<public publicId="ISO 8879:1986//ENTITIES Publishing//EN" uri="XML_entities/ISOpub.ent"/> <public publicId="ISO 8879:1986//ENTITIES General Technical//EN" uri="XML_entities/ISOtech.ent"/> <public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN" uri="XML_entities/ISOdia.ent"/> Eventhough, when I validating my xml against the dtd using latest libxml 
parser. It outputs something like below: 
file:///L%3A/xml/npg/NPG_XML_Article.dtd:529: error: Invalid URI: XML_entities\ISOnum.ent    Numeric and Special Graphic//EN" "XML_entities\ISOnum.ent">
                                                             ^
file:///L%3A/xml/npg/NPG_XML_Article.dtd:531: error: Invalid URI: XML_entities\ISOpub.ent         Publishing//EN" "XML_entities\ISOpub.ent">
                                                 ^
file:///L%3A/xml/npg/NPG_XML_Article.dtd:533: error: Invalid URI: XML_entities\ISOtech.ent         General Technical//EN" "XML_entities\ISOtech.ent">
                                                         ^
file:///L%3A/xml/npg/NPG_XML_Article.dtd:535: error: Invalid URI: XML_entities\ISOdia.ent         Diacritical Marks//EN" "XML_entities\ISOdia.ent">
                                                        ^
But the same Catalog file works perfectly within my Editor JEdit. 
Please can anybody helpme to solve this problem 
FYI: I am using Windows XP Professional 
Regards, 
Srikrishnan  |