Wednesday, July 23, 2008

Qualified XSD Schema in BPEL/ESB

Maybe you have met this kind of problems to say that the input data is received correct, but its values can't be accessed through XPATH before as reporting the Null error.

Once this problem occurs, please check one setting: elementFormDefault="qualified", in XSD schema containing the elements or attributes mapping to the XML file.

This important attribute is on schema tag in XSD, which means all the elments inside are qualified and then can be used correctly.

Such as:
<schema attributeformdefault="unqualified" elementFormDefault="qualified" targetNamespace="" xmlns="">

No comments: