From fd333933a44b7984425721da47310ec9f5fb9aca Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Wed, 1 Feb 2012 07:19:29 +0100 Subject: Add attributes before child elements A bug appears to be because tp:type is transformed into child annotation element, but non-tp attributes are copied, and this is done in order the attributes appear. So if there are non-tp attributes after tp:type in an "arg" or "property" element, it will attempt to copy the attribute into the node having already added the "annotation" child element, and this is not allowed in XSLT. https://bugs.freedesktop.org/show_bug.cgi?id=45369 --- secret-service/tools/spec-to-introspect.xsl | 33 +++++++++++++---------------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/secret-service/tools/spec-to-introspect.xsl b/secret-service/tools/spec-to-introspect.xsl index ca8b4b6..2468237 100644 --- a/secret-service/tools/spec-to-introspect.xsl +++ b/secret-service/tools/spec-to-introspect.xsl @@ -61,24 +61,21 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2