[xml] Search for DTD's attr decls in xmlGetNsProp() and xmlHasNsProp()
- From: Kasimier Buchcik <K Buchcik 4commerce de>
- To: ML-libxml2 <xml gnome org>
- Subject: [xml] Search for DTD's attr decls in xmlGetNsProp() and xmlHasNsProp()
- Date: Mon, 27 Feb 2006 16:08:01 +0100
Hi,
The code for looking up default/fixed attributes in the DTD in
the functions xmlGetNsProp() and xmlHasNsProp() differs.
I think this lookup is broken in xmlGetNsProp(): it won't find an
attribute with a prefix, unless @name is intended to be a QName, but
I don't think so, since it is compared against attr->name as well.
xmlHasNsProp() seems to be OK - although pptimizeable.
If one would like to get rid of this difference in both functions, is
it OK to use the code as in xmlHasNsProp() ?
Regards,
Kasimier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]