0

I have been using XOM parser in a project that is mostly over. The parser is very good and I find it mostly stable. However today I was parsing an XML element with an attribute called "xml:lang"

The getAttributeValue("xml:lang") returned null instead of "English". I could find a work around to get the value by using getAttribute(int location).getValue()

However, it would be better to use the method getAttributeValue because the attribute's location changes for other elements.

I am not sure whether I am doing something wrong or a small bug lies there in the library method.

4

1 に答える 1