diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:13:53 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:13:53 +0000 |
| commit | 4a10bbf9c6288c31853e97602fde477c36d1aef1 (patch) | |
| tree | d6979ad53b444324a8459af62864312c81b59f7e /docs/reference | |
| parent | 3feefb47de78819fdb4a27b2a36a5fd63cecc3ba (diff) | |
| download | lasso-4a10bbf9c6288c31853e97602fde477c36d1aef1.tar.gz lasso-4a10bbf9c6288c31853e97602fde477c36d1aef1.tar.xz lasso-4a10bbf9c6288c31853e97602fde477c36d1aef1.zip | |
Core XML: in xml.c, keep original node names, handle xsi:type attribute better
* lasso/xml/xml.c lasso/xml/xml.h:
- fix signature of lasso_node_set_original_xmlnode, fix signature in
documentation of lasso_node_set_original_xmlnode;
- add a new API lasso_node_set_custom_nodename to specify the exact
element name to use when serializing a LassoNode to XML.
- rename internal structure _CustomNamespace to _CustomElement, add a
nodename field to it.
- rework internal functions around _CustomElement to be aware of an
existing attached _CustomElement and re-use if needed.
- move application of _CustomElement hints after the serialization of
the node, so that the normal behaviour of the serialization is kept
-- i.e. do not play with the list of parent classes.
- use the full xsi:type content to find a LassoNode subclass when
de-serializaing XML content, factorize QName->GObject class mapping
for the three executions paths inside
_type_name_from_href_and_nodename:
- element QName,
- xsi:type QName,
- element name with xsi:type namespace
- add a long comment expliciting the way the mapping is done.
- remove direct mapping of EncryptedAssertion element, the registry
declaration on the class LassoSaml2EncryptedElement shoud be
enough.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions
