RE: [libxml++] Patch for Node::find( nonexistent_xpath ) to retur n empty NodeSe t
- From: Murray Cumming Comneon com
- To: libxmlplusplus-general lists sourceforge net
- Subject: RE: [libxml++] Patch for Node::find( nonexistent_xpath ) to retur n empty NodeSe t
- Date: Wed, 7 May 2003 15:21:13 +0200
> From: Stefan Seefeld [mailto:seefeld sympatico ca]
> Sent: Mittwoch, 7. Mai 2003 15:12
> To: libxmlplusplus-general lists sourceforge net
> Subject: Re: [libxml++] Patch for Node::find(
> nonexistent_xpath ) to retur n empty NodeSe t
>
>
> Murray Cumming Comneon com wrote:
>
> >>Long term the right way is to do what Stefan Seefeld suggested,
> >>returning an XPathResult that unifies NodeSets and other
> >>xpath return types. I'm not bothering to do that yet,
> >>since I have not decided whether to use libxml++
> >>or Xerces or xml4c, the IBM C++ binding.
> >
> >
> > Someone should look at Java's Xerces API to see what that
> does. I think it's
> > a fairly well-thought-out interpretation of the XML specs.
> Your fix is fine
> > in the meantime.
>
> xerces doesn't have an API for xpaths as far as I can see.
I'm fairly sure that I've seen it. Maybe it's only in the Java version. The
docs are online.
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]