XML Schema validation "Unable to locate a matching element declaration" webMethods

Hi

Got a solution for the following problem “Unable to locate a matching element declaration” while doing xml validation using
pub.schema:validate

  1. Check out whether your xml is having any target namespaces
  2. 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 "

  1. Remove the white space characters
    <createRequest xmlns=“[URL=“Oracle Java Technologies | Oracle”][B]Oracle Java Technologies | Oracle

  2. Revalidate xml

Regards
Karpaga