Re: [xml] Potential wrong usage of xmlIsID() in tree.c

Kasimier Buchcik wrote:
I'm about to minimize the code for the xmlHasXXXProp and xmlGetXXXProp
functions, so please shout if you are doing the same currently.
Go for it. Had the same thoughts as well after having reviewed the DOM functions but hadn't started on it :)

If you haven't already thought of this, you might want to make an internal function to find the attribute that also accepts a flag for DTD checking. This way the internal function could be used in a few other places as well that are only looking for attributes in the tree.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]