summaryrefslogtreecommitdiffstats
path: root/docs/reference
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-09-11 15:51:32 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-09-11 15:51:32 +0000
commit8a7c0cbaa3260ab86b4cfe108fc2570d9ef666d7 (patch)
treea7a310d8716dba362f8aa66933e325de4acd4ec8 /docs/reference
parent9a677fb7424600d1bfc386982e81bf080b40ff0f (diff)
downloadlasso-8a7c0cbaa3260ab86b4cfe108fc2570d9ef666d7.tar.gz
lasso-8a7c0cbaa3260ab86b4cfe108fc2570d9ef666d7.tar.xz
lasso-8a7c0cbaa3260ab86b4cfe108fc2570d9ef666d7.zip
XML: add an API to set namespace on a single instance of a LassoNode
* lasso/xml/xml.h lasso/xml/xml.c: add a new public API lasso_node_set_custom_namespace(node, prefix, href). It allows to set the precise namespace of a single object, all other instance of the same class continue to use the default namespace for the class. It should be used for difficult consumer of certain nodes (like wsse:Security) which only know certain namespace or do not use the namespace going with the specified version of a specification (like MSP not following ID-WSF 1.0 specification and using http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd instead of http://schemas.xmlsoap.org/ws/2003/06/secext. It also allows to share implementation of schema objects common to many version of the same specification (wsse:Security between ID-WSF 1.0 and ID-WSF 2.0), without creating too many child classes.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions