I just noticed sometimes the users have XML document using xsi:schemaLocation attribute to reference its XSD. In order to load this document with its types resolved by SDO, the option SDOUtil.XML_LOAD_SCHEMA needs to be set specifically in the load method. I think this is inconvenient to the users and also SDOUtil is not a spec compliant API.
My suggestion is to get rid of this SDOUtil option and make it a default which will always load the schema if xsi:schemaLocation is specified. Fuhwei Lwo
