mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
fix entity parsing in quoted strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36458 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a2d444617c
commit
dbf2cd01a0
5 changed files with 191 additions and 101 deletions
11
Tests/base/NSXMLParser/ParseData/quoted-entities.result
Normal file
11
Tests/base/NSXMLParser/ParseData/quoted-entities.result
Normal file
|
@ -0,0 +1,11 @@
|
|||
parserDidStartDocument:
|
||||
parser:didStartElement:namespaceURI:qualifiedName:attributes: node node {
|
||||
attr = "-\"+";
|
||||
}
|
||||
parser:foundCharacters:
|
||||
|
||||
parser:foundCharacters: content
|
||||
parser:foundCharacters:
|
||||
|
||||
parser:didEndElement:namespaceURI:qualifiedName: node node
|
||||
parserDidEndDocument:
|
4
Tests/base/NSXMLParser/ParseData/quoted-entities.xml
Normal file
4
Tests/base/NSXMLParser/ParseData/quoted-entities.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version='1.0'?>
|
||||
<node attr = "-"+">
|
||||
content
|
||||
</node>
|
Loading…
Add table
Add a link
Reference in a new issue