summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:14:41 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:14:41 +0000
commit291e0c05fa91b9d8e937895da6b0f1da658cd3fc (patch)
treed0ab15001b1b5687627966ace6d8b3e13ba539a3
parent7231771856e6750e52e3b1bcf496439f82721dbe (diff)
downloadlasso-291e0c05fa91b9d8e937895da6b0f1da658cd3fc.tar.gz
lasso-291e0c05fa91b9d8e937895da6b0f1da658cd3fc.tar.xz
lasso-291e0c05fa91b9d8e937895da6b0f1da658cd3fc.zip
sb2:TargetIdentity can have a content
* lasso/xml/id-wsf-2.0/sb2_target_identity.c: * lasso/xml/id-wsf-2.0/sb2_target_identity.h: add support for any content.
-rw-r--r--lasso/xml/id-wsf-2.0/sb2_target_identity.c2
-rw-r--r--lasso/xml/id-wsf-2.0/sb2_target_identity.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/lasso/xml/id-wsf-2.0/sb2_target_identity.c b/lasso/xml/id-wsf-2.0/sb2_target_identity.c
index dc3ef873..3c566698 100644
--- a/lasso/xml/id-wsf-2.0/sb2_target_identity.c
+++ b/lasso/xml/id-wsf-2.0/sb2_target_identity.c
@@ -50,6 +50,8 @@
static struct XmlSnippet schema_snippets[] = {
{ "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
G_STRUCT_OFFSET(LassoIdWsf2Sb2TargetIdentity, attributes), NULL, NULL, NULL},
+ { "", SNIPPET_LIST_NODES | SNIPPET_ANY, G_STRUCT_OFFSET(LassoIdWsf2Sb2TargetIdentity, any),
+ NULL, NULL, NULL },
{NULL, 0, 0, NULL, NULL, NULL}
};
diff --git a/lasso/xml/id-wsf-2.0/sb2_target_identity.h b/lasso/xml/id-wsf-2.0/sb2_target_identity.h
index 2a8825e3..ab9cd965 100644
--- a/lasso/xml/id-wsf-2.0/sb2_target_identity.h
+++ b/lasso/xml/id-wsf-2.0/sb2_target_identity.h
@@ -62,6 +62,7 @@ struct _LassoIdWsf2Sb2TargetIdentity {
/*< public >*/
/* attributes */
GHashTable *attributes;
+ GList *any;
};