- Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
In plexus-utils 3.4.1 and 3.4.0, the text inside the DOCDECL section is incorrectly parsed:
In this XML file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE document [ <!ENTITY flo "ř"> <!ENTITY myCustomEntity "&flo;"> ]> <document>&myCustomEntity;</document>
the getText()
call after parsing the DOCDECL token should be:
document [ <!ENTITY nbsp " "> <!-- no-break space = non-breaking space, U+00A0 ISOnum --> <!ENTITY Alpha "Α"> <!-- greek capital letter alpha, U+0391 --> <!ENTITY tritPos "𝟭"> <!-- MATHEMATICAL SANS-SERIF BOLD DIGIT ONE --> <!ENTITY flo "ř"> <!ENTITY myCustomEntity "&flo;"> ]
but was: ř
Metadata
Metadata
Assignees
Labels
No labels