mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Test case for attribute namespace prefixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38747 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb8fe8aebc
commit
b638704e6f
3 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-07-03 Niels Grewe <niels.grewe@halbordnung.de>
|
||||
|
||||
* Tests/base/NSXMLParser/ParseData/namespaced-attributes.xml:
|
||||
* Tests/base/NSXMLParser/ParseData/namespaced-attributes.result:
|
||||
Test case for attribute namespace prefixes.
|
||||
|
||||
2015-07-03 Niels Grewe <niels.grewe@halbordnung.de>
|
||||
|
||||
* Source/Additions/GSXML.m: Fix reporting namespace prefixes
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
parserDidStartDocument:
|
||||
parser:didStartMappingPrefix:toURI: gs http://gnustep.org/example#
|
||||
parser:didStartElement:namespaceURI:qualifiedName:attributes: node node {
|
||||
"gs:attr" = foo;
|
||||
}
|
||||
|
||||
content
|
||||
parser:didEndElement:namespaceURI:qualifiedName: node node
|
||||
parser:didEndMappingPrefix: gs
|
||||
parserDidEndDocument:
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version='1.0'?>
|
||||
<node xmlns:gs="http://gnustep.org/example#" gs:attr = "foo">
|
||||
content
|
||||
</node>
|
Loading…
Reference in a new issue