浏览代码

Run rnc generation after Feature-Policy Support

After the Feature-Policy support changes the format of the xsd did not
align with the generator which meant running the build caused changes
for the commit.

This commit ran the xsd generation so that the formatting would be
consistent with the generator.

Issue: gh-5670
Rob Winch 7 年之前
父节点
当前提交
ff8163f4c7

+ 9 - 7
config/src/main/resources/org/springframework/security/config/spring-security-5.1.xsd

@@ -2467,17 +2467,19 @@
   </xs:attributeGroup>
   </xs:attributeGroup>
   <xs:element name="feature-policy">
   <xs:element name="feature-policy">
       <xs:annotation>
       <xs:annotation>
-          <xs:documentation>Adds support for Feature Policy</xs:documentation>
+         <xs:documentation>Adds support for Feature Policy
+                </xs:documentation>
       </xs:annotation>
       </xs:annotation>
       <xs:complexType>
       <xs:complexType>
-          <xs:attributeGroup ref="security:feature-options.attlist"/>
+         <xs:attributeGroup ref="security:feature-options.attlist"/>
       </xs:complexType>
       </xs:complexType>
-  </xs:element>
+   </xs:element>
   <xs:attributeGroup name="feature-options.attlist">
   <xs:attributeGroup name="feature-options.attlist">
       <xs:attribute name="policy-directives" type="xs:token">
       <xs:attribute name="policy-directives" type="xs:token">
-          <xs:annotation>
-              <xs:documentation>The security policy directive(s) for the Feature-Policy header.</xs:documentation>
-          </xs:annotation>
+         <xs:annotation>
+            <xs:documentation>The security policy directive(s) for the Feature-Policy header.
+                </xs:documentation>
+         </xs:annotation>
       </xs:attribute>
       </xs:attribute>
   </xs:attributeGroup>
   </xs:attributeGroup>
   <xs:element name="cache-control">
   <xs:element name="cache-control">
@@ -2735,4 +2737,4 @@
          <xs:enumeration value="LAST"/>
          <xs:enumeration value="LAST"/>
       </xs:restriction>
       </xs:restriction>
   </xs:simpleType>
   </xs:simpleType>
-</xs:schema>
+</xs:schema>