Changed fix for XMLBEANS-187. Turns out that all SAX parsers in practice do report NS declarations as attributes, so changed the XMLBeans default to do the same.
Fix for XMLBEANS-369 selectPath with XMLBeans engine returns incorrect results
Set optimizes for unsync flag.
Adding tests for xpath fix, and tests for CData.
Fix for XMLBEANS-309 Warnings on Generated code; contributed by Kurt Stam
Also had initially forgot to mark some methods in XmlObjectBase as deprecated, fixed that too; this part contributed by Kurt Roy.
Now I am able to compile XMLBeans-generated classes under JDK 1.5 without any warning.