I am using tinyxml to parse rss and atoms feeds, and in one feed i find such text in DTD:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
...etc
And tinyxml can`t parse this document. Btw, rss validator accept this feed.
Parser debug messages are:
XML parsing Declaration
XML parsing Unknown(1)
Have any body such problems?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using tinyxml to parse rss and atoms feeds, and in one feed i find such text in DTD:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
...etc
And tinyxml can`t parse this document. Btw, rss validator accept this feed.
Parser debug messages are:
XML parsing Declaration
XML parsing Unknown(1)
Have any body such problems?
Yeah, it doesn't handle DOCTYPE. It would be a nice feature to at least shove them into TiXmlUnknown.
Just not implemented yet.
lee