Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-250

Xml parser should handle entities defined in doctype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.1
    • Core
    • None

    Description

      The following xml:

       
      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!DOCTYPE test [
      <!ENTITY foo "&#x160;">
      ]>
      <b>&foo;</b>
      

      displays "null" instead of a space.

      We need to handle XmlPullParser.DOCDECL in AbstractXmlParser#parseXml(XmlPullParser, Sink)

      Attachments

        Activity

          People

            siveton Siveton Vincent
            siveton Siveton Vincent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: