I'm trying to use Spark-XML API and I'm facing issue with the XSD validation option.
Actually when I parser an XML file using the "rowValidationXSDPath" option the parser can't recognize the Prefixes/Namespaces declared at the root level.
For this to work I have to move down the namespace declaration to the level of RowTag.
Example
<RootTag xmlns:myPrefix1="http:....." xmlns:myPrefix2="http:....." ... >
< myPrefix1:ParentMember>
< myPrefixe2:ChildMember>
............
</myPrefixe2:ChildMember>
<myPrefix1:ParentMember>
</RootTag>
Reading the above structure using the rowValidationXSDPath option would end with the following error : the prefix "myPrefixe2" for element "myPrefixe2:ChildMember" is not bound.
I know that was a bug in previous versions but wondering if it was fixed too when the option rowValidationXSDPath is enabled.
Thank you in advance for your help.