Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
libxml2
Commits
b6b36d37
Commit
b6b36d37
authored
Feb 09, 2005
by
Daniel Veillard
Browse files
applied patch to xmlSetNsProp from Mike Hommey Daniel
* tree.c: applied patch to xmlSetNsProp from Mike Hommey Daniel
parent
2b2e02d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b6b36d37
Wed Feb 9 17:47:40 CET 2005 Daniel Veillard <daniel@veillard.com>
* tree.c: applied patch to xmlSetNsProp from Mike Hommey
Sun Feb 6 00:17:57 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c xmllint.c: fixed implementation for |
...
...
tree.c
View file @
b6b36d37
...
...
@@ -6446,7 +6446,7 @@ xmlSetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
const
xmlChar
*
value
)
{
xmlAttrPtr
prop
;
if
((
node
==
NULL
)
||
(
name
==
NULL
))
if
((
node
==
NULL
)
||
(
name
==
NULL
)
||
(
node
->
type
!=
XML_ELEMENT_NODE
)
)
return
(
NULL
);
if
(
ns
==
NULL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment