Author: kilo Date: 2006-01-09 07:24:09 -0600 (Mon, 09 Jan 2006) New Revision: 8121
Modified: trunk/gnue-common/src/definitions/GParser.py Log: Refine (hack) sybling check for reports Modified: trunk/gnue-common/src/definitions/GParser.py =================================================================== --- trunk/gnue-common/src/definitions/GParser.py 2006-01-05 09:41:11 UTC (rev 8120) +++ trunk/gnue-common/src/definitions/GParser.py 2006-01-09 13:24:09 UTC (rev 8121) @@ -368,7 +368,9 @@ elementDefinition = self.xmlElements [tname] # Check whether this tag is valid for the current parent - if self.nameStack: + # TEMP HACK for reports 'and not ns', + # this check is not needed if tags are root in namespace + if self.nameStack and not ns: ok = False if self.nameStack [0] in elementDefinition.get ('ParentTags', []): ok = True _______________________________________________ Commit-gnue mailing list Commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue