Hi
Got a solution for the following problem “Unable to locate a matching element declaration” while doing xml validation using
pub.schema:validate
- Check out whether your xml is having any target namespaces
- If yes check for any white space characters before the closing quotations in name space declarations. For e.g.,
<createRequest xmlns="[URL=“Oracle Java Technologies | Oracle”][B]Oracle Java Technologies | Oracle "
-
Remove the white space characters
<createRequest xmlns=“[URL=“Oracle Java Technologies | Oracle”][B]Oracle Java Technologies | Oracle” -
Revalidate xml
Regards
Karpaga