Re: [XOM-interest] [ANN] Nux-1.0a2 - XQuery support for XOMWolfgang 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 http://xquery.com/mailman/listinfo/talk > 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format