summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-06-27 13:44:25 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-06-27 13:44:25 +0000
commit34de3dabb26304d63919eb9afb7e09299f2f8a9e (patch)
treea0f4cc275639a33bed9e6f1945e723d9e665f702
parenteeaf54754008bbe3e06e82dc9498a4a1860d5ba9 (diff)
INTEGRATION: CWS sdblogging (1.9.322); FILE MERGED
2007/04/12 10:40:30 fs 1.9.322.1: #i76119# remove the constraint that extensible groups cannot have children of type "prop" The comment for this constraint claims this is an unsupported feature, but this is not the case: - the parser at runtime perfectly recognizes it, and properly delivers the respective node - the API itself also recognizes that the node is non-valitile (which is implied by it being part of the schema), and rejects any modifications to it. According to JB, the original implementor, this implies that this construct is in fact supported. Note: Other similar restrictions are still intact: An extensible group still cannot contain any "set" or "group" child nodes.
-rw-r--r--officecfg/util/schema_val.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/officecfg/util/schema_val.xsl b/officecfg/util/schema_val.xsl
index 317db83d1bfe..b18ca0c15eb6 100644
--- a/officecfg/util/schema_val.xsl
+++ b/officecfg/util/schema_val.xsl
@@ -5,9 +5,9 @@
$RCSfile: schema_val.xsl,v $
- $Revision: 1.9 $
+ $Revision: 1.10 $
- last change: $Author: rt $ $Date: 2005-09-08 15:50:39 $
+ last change: $Author: hr $ $Date: 2007-06-27 14:44:25 $
The Contents of this file are made available subject to
the terms of GNU Lesser General Public License Version 2.1.
@@ -68,7 +68,7 @@
</xsl:template>
<xsl:template match = "group[@oor:extensible='true']">
- <xsl:if test="count(child::prop) or count(child::set) or count(child::group) or count(child::node-ref)">
+ <xsl:if test="count(child::set) or count(child::group) or count(child::node-ref)">
<xsl:message terminate="yes">ERROR: extensible groups with children are currently NOT supported!</xsl:message>
</xsl:if>
<xsl:apply-templates select="*|@*"/>