Maven Doxia

Xml parser should handle entities defined in doctype

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.1
  • Component/s: Core
  • Labels:
    None
  • Number of attachments :
    0

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)

Activity

Hide
Vincent Siveton added a comment -

fixed in r70994

Show
Vincent Siveton added a comment - fixed in r70994

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: