1<?xml version="1.0"?> 2<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd"> 3<!-- Copyright (C) 2022 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<module name="Checker"> 18 <property name="fileExtensions" value="java, c, h, cpp" /> 19 <module name="RegexpHeader"> 20 <property name="severity" value="error" /> 21 <property name="headerFile" value="tools/checkstyle/w3c-copyright.pattern" /> 22 <property name="multiLines" value="1,3" /> 23 </module> 24 <!-- Files with Google copyrights amongst the sources with W3C copyrights. --> 25 <module name="BeforeExecutionExclusionFileFilter"> 26 <property name="fileNamePattern" 27 value="dom/src/test/java/tests/api/org/w3c/dom/AllTests_Level[12].java" /> 28 </module> 29 <module name="BeforeExecutionExclusionFileFilter"> 30 <property name="fileNamePattern" 31 value="dom/src/test/java/org/w3c/domts/JunitTestCases.java" /> 32 </module> 33 <!-- Files with no apparent copyright. --> 34 <module name="BeforeExecutionExclusionFileFilter"> 35 <property name="fileNamePattern" 36 value="luni/src/test/java/tests/org/w3c/dom/AttrGetOwnerElement.java" /> 37 </module> 38 <module name="BeforeExecutionExclusionFileFilter"> 39 <property name="fileNamePattern" 40 value="luni/src/test/java/tests/org/w3c/dom/AttrGetOwnerElement.java" /> 41 </module> 42 <module name="BeforeExecutionExclusionFileFilter"> 43 <property name="fileNamePattern" 44 value="luni/src/test/java/tests/org/w3c/dom/DocumentBuilderSettingStrategy.java" /> 45 </module> 46 <module name="BeforeExecutionExclusionFileFilter"> 47 <property name="fileNamePattern" 48 value="luni/src/test/java/tests/org/w3c/dom/DocumentCreateElementNS.java" /> 49 </module> 50 <module name="BeforeExecutionExclusionFileFilter"> 51 <property name="fileNamePattern" 52 value="luni/src/test/java/tests/org/w3c/dom/DocumentGeteEementById.java" /> 53 </module> 54 <module name="BeforeExecutionExclusionFileFilter"> 55 <property name="fileNamePattern" 56 value="luni/src/test/java/tests/org/w3c/dom/DocumentGetElementsByTagnameNS.java" /> 57 </module> 58 <module name="BeforeExecutionExclusionFileFilter"> 59 <property name="fileNamePattern" 60 value="luni/src/test/java/tests/org/w3c/dom/DocumentImportNode.java" /> 61 </module> 62 <module name="BeforeExecutionExclusionFileFilter"> 63 <property name="fileNamePattern" 64 value="luni/src/test/java/tests/org/w3c/dom/DocumentTypeInternalSubset.java" /> 65 </module> 66 <module name="BeforeExecutionExclusionFileFilter"> 67 <property name="fileNamePattern" 68 value="luni/src/test/java/tests/org/w3c/dom/DOMDocumentBuilderFactory.java" /> 69 </module> 70 <module name="BeforeExecutionExclusionFileFilter"> 71 <property name="fileNamePattern" 72 value="luni/src/test/java/tests/org/w3c/dom/DOMImplementationCreateDocument.java" /> 73 </module> 74 <module name="BeforeExecutionExclusionFileFilter"> 75 <property name="fileNamePattern" 76 value="luni/src/test/java/tests/org/w3c/dom/DOMImplementationHasFeature.java" /> 77 </module> 78 <module name="BeforeExecutionExclusionFileFilter"> 79 <property name="fileNamePattern" 80 value="luni/src/test/java/tests/org/w3c/dom/DOMTestCase.java" /> 81 </module> 82 <module name="BeforeExecutionExclusionFileFilter"> 83 <property name="fileNamePattern" 84 value="luni/src/test/java/tests/org/w3c/dom/ElementGetAttributeNodeNS.java" /> 85 </module> 86 <module name="BeforeExecutionExclusionFileFilter"> 87 <property name="fileNamePattern" 88 value="luni/src/test/java/tests/org/w3c/dom/ElementGetElementsByTagNameNS.java" /> 89 </module> 90 <module name="BeforeExecutionExclusionFileFilter"> 91 <property name="fileNamePattern" 92 value="luni/src/test/java/tests/org/w3c/dom/ElementHasAttribute.java" /> 93 </module> 94 <module name="BeforeExecutionExclusionFileFilter"> 95 <property name="fileNamePattern" 96 value="luni/src/test/java/tests/org/w3c/dom/ElementRemoveAttributeNS.java" /> 97 </module> 98 <module name="BeforeExecutionExclusionFileFilter"> 99 <property name="fileNamePattern" 100 value="luni/src/test/java/tests/org/w3c/dom/ElementSetAttributeNS.java" /> 101 </module> 102 <module name="BeforeExecutionExclusionFileFilter"> 103 <property name="fileNamePattern" 104 value="luni/src/test/java/tests/org/w3c/dom/GetNamedItemNS.java" /> 105 </module> 106 <module name="BeforeExecutionExclusionFileFilter"> 107 <property name="fileNamePattern" 108 value="luni/src/test/java/tests/org/w3c/dom/HasAttribute.java" /> 109 </module> 110 <module name="BeforeExecutionExclusionFileFilter"> 111 <property name="fileNamePattern" 112 value="luni/src/test/java/tests/org/w3c/dom/HCEntitiesSetNamedItemNS.java" /> 113 </module> 114 <module name="BeforeExecutionExclusionFileFilter"> 115 <property name="fileNamePattern" 116 value="luni/src/test/java/tests/org/w3c/dom/HCNodeDocumentFragmentNormalize.java" /> 117 </module> 118 <module name="BeforeExecutionExclusionFileFilter"> 119 <property name="fileNamePattern" 120 value="luni/src/test/java/tests/org/w3c/dom/IsSupported.java" /> 121 </module> 122 <module name="BeforeExecutionExclusionFileFilter"> 123 <property name="fileNamePattern" 124 value="luni/src/test/java/tests/org/w3c/dom/LocalName.java" /> 125 </module> 126 <module name="BeforeExecutionExclusionFileFilter"> 127 <property name="fileNamePattern" 128 value="luni/src/test/java/tests/org/w3c/dom/LSExceptionTest.java" /> 129 </module> 130</module>