[xquery-talk] Re: [XOM-interest] [ANN] Nux-1.0a2 - XQuery support
for XOM
Wolfgang Hoschek
whoschek at lbl.gov
Tue Oct 12 19:52:33 PDT 2004
Saxon expects a null in that case, and so that's what the code is
returning. If you'd actually had looked at the source you would have
seen the comments in the code expressly making that clear.
Wolfgang.
>
>> The API is considered stable by now, but there may still be small
>> changes in response to community feedback.
>> So let us know of any issues.
>
> One API comment. The DocumentWrapper getUnparsedEntity entity method
> is declared thusly:
>
> public String[] getUnparsedEntity(String name)
>
> You say this returns null because XOM does not provide access to
> unparsed entities. Would it perhaps make more sense for this method to
> return an array of length zero?
>
> --
> Elliotte Rusty Harold elharo at metalab.unc.edu
> XML in a Nutshell 3rd Edition Just Published!
> http://www.cafeconleche.org/books/xian3/
> http://www.amazon.com/exec/obidos/ISBN%3D0596007647/cafeaulaitA/
> ref%3Dnosim
More information about the talk
mailing list