Hello Marcel,
I think that the problem is that your document “belongs” to a namespace, but the X-Query is for an unqualified doctype.
If you modify the schema so that the namespace “http://www.imsglobal.org/xsd/imscp_v1p1” (the target namespace) is
bound to the prefix “imscp”, then query for the qualified doctype name (e.g. /imscp:manifest) it will work.
The modified schema start node might look like this:
<xs:schema targetNamespace = "http://www.imsglobal.org/xsd/imscp_v1p1"
elementFormDefault = "qualified"
xmlns:imscp = "http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:imsmd = "http://www.imsglobal.org/xsd/imsmd_v1p2"
xmlns:tsd = "http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition"
xmlns:xs = "http://www.w3.org/2001/XMLSchema">
(The only change is the introduction of the “imscp” prefix on the third line [as it appears above].)
I hope that helps,
Trevor.
#Tamino#API-Management#webMethods