sshyran / genxdm

Automatically exported from code.google.com/p/genxdm
0 stars 0 forks source link

Provide an additional validation API that takes a <N>ode and a QName type, disregarding the element name of the node #132

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The issue here is related to customers using web services. WSDL 1.1 has a 
psychotic facade in front of W3C XML Schema, whereby the element-name of a node 
must be determined very late, and may not be unique in the WSDL (in particular, 
soap:body may be associated with multiple @type-s).

What we need to do is to provide a validation API that looks approximately like 
this:

N validate(N element, QName sourceNodeType)

(there may be additional parameters, but the change here is from getting 
started by looking at the supplied element's name, seeking a schema Element 
definition as the starting point, and instead going to validating the content 
using the type indicated by the supplied QName)

Original issue reported on code.google.com by aale...@gmail.com on 11 Jun 2013 at 5:23

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r456.

Original comment by aale...@gmail.com on 12 Jun 2013 at 5:14