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



Kasimier Buchcik wrote:
[...]

OK. Now that I have disgusted you with the narrow entry point: can we
already foresee which additional xmlDOMWrapXXX functions we need?
I think it would be good for Daniel to see what additional functions
we talk about.

For me the following functions come currently into consideration:
1) an add-child-node function
2) a create-attribute-node function
3) an add-attribute-node-to-elem function
4) a set-attribute-on-elem function
Maybe 3) and 4) could be combined into one function.
I rather take the worse case scenario, so for now I wouldn't combine 3 and 4. It might be possible, though I think it would be a bit ugly. The two should be able to share a good amount of code though. I assume that functions like 2, 3 and 4 are dual purpose and handle the NS cases as well. I think those might be the only ones needed. Working on this functionality the xmlDOMWrapCtxtPtr is also going to need to be built out.

Rob



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