-16254 A db2-xdb:locationPath locationpath AT OR NEAR LINE lineno IN XML SCHEMA DOCUMENT uri IS NOT VALID WITH REASON CODE reason-code.
Explanation
A value specified in the annotated schema for db2-xdb:locationPath is
not valid. The XML schema document can be determined by matching uri to
the SCHEMALOCATION column of table SYSIBM.XSROBJECTCOMPONENTS.
Possible values for reason code include:
- Some element or attribute has a namespace prefix that is not mapped to a URI. All namespace prefixes used in the location path must have been associated with a namespace in the XML schema document containing the annotation specifying this location path.
- Invalid syntax for a location path.
- The specified path does not match any possible path from a root node to a location where the element or attribute may appear in an instance document.
System action
The XML schema is not enabled for decomposition. The XSR_COMPLETE invocation fails with this SQLCODE
User response
Modify the annotations in the XML schema. Possible
actions based on the reason-code include:
- Ensure that namespace prefixes in the db2-xdb:locationPath are correct or add a declaration for the missing namespace.
- Ensure that the syntax of the value for db2-xdb:locationPath is valid syntax for a location path.
- Ensure that the value for db2-xdb:locationPath corresponds to a possible path from the root node to the element or attribute at the end of the location path.
SQLSTATE
225DE