Problems with parsing DOCTYPE

  • Pavel Shuvalov

    Pavel Shuvalov - 2008-10-16

    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" "">]>
    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?

    • Lee Thomason

      Lee Thomason - 2008-10-16

      Yeah, it doesn't handle DOCTYPE. It would be a nice feature to at least shove them into TiXmlUnknown.

      Just not implemented yet.



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks