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

Xml parser should handle entities defined in doctype

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: