瀏覽代碼

Merge remote branch 'subsven/monolog-schema'

* subsven/monolog-schema:
  fix invalid schema in monolog bundle
Fabien Potencier 14 年之前
父節點
當前提交
bd7eb021c6
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      src/Symfony/Bundle/MonologBundle/Resources/config/schema/monolog-1.0.xsd

+ 4 - 6
src/Symfony/Bundle/MonologBundle/Resources/config/schema/monolog-1.0.xsd

@@ -15,12 +15,10 @@
     </xsd:complexType>
 
     <xsd:complexType name="handler">
-        <xsd:choice minOccurs="0" maxOccurs="unbounded">
-            <xsd:element name="processor" type="xsd:string" />
-        </xsd:choice>
-        <xsd:choice minOccurs="0" maxOccurs="unbounded">
-            <xsd:element name="member" type="xsd:string" />
-        </xsd:choice>
+        <xsd:sequence>
+            <xsd:element name="processor" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+            <xsd:element name="member" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+        </xsd:sequence>
         <xsd:attribute name="type" type="xsd:string" use="required" />
         <xsd:attribute name="priority" type="xsd:integer" />
         <xsd:attribute name="level" type="level" />