X7ROOT File Manager
Current Path:
/usr/share/pacemaker
usr
/
share
/
pacemaker
/
📁
..
📄
acls-1.2.rng
(1.89 KB)
📄
acls-2.0.rng
(2.48 KB)
📁
alerts
📄
alerts-2.10.rng
(2.65 KB)
📄
alerts-2.5.rng
(1.47 KB)
📄
alerts-2.9.rng
(1.47 KB)
📄
cib-1.0.rng
(1.01 KB)
📄
cib-1.2.rng
(1.36 KB)
📄
constraints-1.0.rng
(4.95 KB)
📄
constraints-1.2.rng
(6.22 KB)
📄
constraints-2.1.rng
(6.45 KB)
📄
constraints-2.2.rng
(6.75 KB)
📄
constraints-2.3.rng
(6.85 KB)
📄
constraints-2.6.rng
(6.96 KB)
📄
constraints-2.9.rng
(6.96 KB)
📄
constraints-next.rng
(7.28 KB)
📄
crm-transitional.dtd
(39.53 KB)
📄
crm.dtd
(38.7 KB)
📄
crm_mon.rng
(19.13 KB)
📄
fencing-1.2.rng
(989 B)
📄
fencing-2.4.rng
(1.12 KB)
📄
nodes-1.0.rng
(987 B)
📄
nodes-1.2.rng
(1.27 KB)
📄
nodes-1.3.rng
(1.31 KB)
📄
nodes-2.9.rng
(1.31 KB)
📄
nvset-1.3.rng
(1.31 KB)
📄
nvset-2.9.rng
(1.32 KB)
📄
nvset.rng
(1002 B)
📄
options-1.0.rng
(944 B)
📄
pacemaker-1.0.rng
(692 B)
📄
pacemaker-1.2.rng
(785 B)
📄
pacemaker-1.3.rng
(830 B)
📄
pacemaker-2.0.rng
(830 B)
📄
pacemaker-2.1.rng
(830 B)
📄
pacemaker-2.10.rng
(879 B)
📄
pacemaker-2.2.rng
(830 B)
📄
pacemaker-2.3.rng
(830 B)
📄
pacemaker-2.4.rng
(830 B)
📄
pacemaker-2.5.rng
(877 B)
📄
pacemaker-2.6.rng
(877 B)
📄
pacemaker-2.7.rng
(877 B)
📄
pacemaker-2.8.rng
(877 B)
📄
pacemaker-2.9.rng
(877 B)
📄
pacemaker-next.rng
(880 B)
📄
pacemaker.rng
(879 B)
📄
report.collector
(23.33 KB)
📄
report.common
(22.11 KB)
📄
resources-1.0.rng
(5.31 KB)
📄
resources-1.2.rng
(6.86 KB)
📄
resources-1.3.rng
(6.91 KB)
📄
resources-2.10.rng
(10.46 KB)
📄
resources-2.7.rng
(6.49 KB)
📄
resources-2.8.rng
(9.67 KB)
📄
resources-2.9.rng
(9.67 KB)
📄
rule-2.9.rng
(4.61 KB)
📄
rule.rng
(4.31 KB)
📄
score.rng
(485 B)
📄
status-1.0.rng
(536 B)
📄
tags-1.3.rng
(668 B)
📄
upgrade-1.3.xsl
(3.22 KB)
📄
upgrade06.xsl
(23.86 KB)
📄
versions.rng
(1.32 KB)
Editing: upgrade-1.3.xsl
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" encoding="UTF-8" indent="yes"/> <xsl:template match="role_ref"> <xsl:element name="role"> <xsl:apply-templates select="@*|node()"/> </xsl:element> </xsl:template> <xsl:template match="read|write|deny"> <xsl:element name="acl_permission"> <xsl:copy-of select="@id"/> <xsl:attribute name="kind"><xsl:value-of select="name()"/></xsl:attribute> <!-- previously, one could have a single element "matched" multiple times, each time using a different attribute (or no attribute at all), which would result, after the generalization (stripping @attribute) in multiple possibly conflicting ACL behaviours for given element(s); we could take this into account by, at the very least, preferring the behavior at attribute-less specification, if any --> <xsl:choose> <xsl:when test="@ref"> <xsl:attribute name="reference"><xsl:value-of select="@ref"/></xsl:attribute> <xsl:if test="@attribute"> <!-- alternatively, rephrase (generalized a bit) turning it to @xpath --> <xsl:message>ACLs: @attribute cannot accompany @ref for upgrade-1.3.xsl purposes, ignoring</xsl:message> </xsl:if> </xsl:when> <xsl:when test="@tag"> <xsl:attribute name="object-type"><xsl:value-of select="@tag"/></xsl:attribute> <xsl:if test="@attribute"> <xsl:message>ACLs: @attribute (with @tag) handling generalized a bit for upgrade-1.3.xsl purposes</xsl:message> <xsl:copy-of select="@attribute"/> </xsl:if> </xsl:when> <xsl:otherwise> <!-- must have been xpath per the schema, then --> <xsl:choose> <xsl:when test="@attribute"> <xsl:message>ACLs: @attribute (with @xpath) handling generalized a bit for upgrade-1.3.xsl purposes</xsl:message> <xsl:attribute name="xpath"> <xsl:value-of select="concat(@xpath,'[@', @attribute, ']')"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:copy-of select="@xpath"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:element> </xsl:template> <xsl:template match="acl_user[role_ref]"> <!-- schema disallows role_ref's AND deny/read/write --> <xsl:element name="acl_target"> <xsl:apply-templates select="@*|node()"/> </xsl:element> </xsl:template> <xsl:template match="acl_user[not(role_ref)]"> <xsl:element name="acl_target"> <xsl:apply-templates select="@*"/> <xsl:if test="count(deny|read|write)" > <xsl:element name="role"> <xsl:attribute name="id"> <xsl:value-of select="concat('auto-', @id)"/> </xsl:attribute> </xsl:element> </xsl:if> </xsl:element> <xsl:if test="count(deny|read|write)" > <xsl:element name="acl_role"> <xsl:attribute name="id"> <xsl:value-of select="concat('auto-', @id)"/> </xsl:attribute> <xsl:apply-templates select="*"/> </xsl:element> </xsl:if> </xsl:template> <xsl:template match="@*|*"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>
Upload File
Create Folder