[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8121 - trunk/gnue-common/src/definitions
From: |
kilo |
Subject: |
[gnue] r8121 - trunk/gnue-common/src/definitions |
Date: |
Mon, 9 Jan 2006 07:24:09 -0600 (CST) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8121 - trunk/gnue-common/src/definitions,
kilo <=