This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch clean-staging in repository https://gitbox.apache.org/repos/asf/logging-log4j-site.git
commit 8e03a11d7bc73cf48402910b9ffba09a1210ff14 Author: Piotr P. Karwasz <[email protected]> AuthorDate: Tue Feb 6 16:39:34 2024 +0100 Add changelog schemas --- changelog-0.1.0.xsd | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++ changelog-0.1.1.xsd | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++ changelog-0.1.2.xsd | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++ changelog-0.1.3.xsd | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 329 insertions(+) diff --git a/changelog-0.1.0.xsd b/changelog-0.1.0.xsd new file mode 100644 index 0000000000..ee532eabc0 --- /dev/null +++ b/changelog-0.1.0.xsd @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://logging.apache.org/log4j/changelog" + xmlns:cl="http://logging.apache.org/log4j/changelog" + elementFormDefault="qualified" + version="0.1.0"> + + <element name="release"> + <complexType> + <simpleContent> + <extension base="string"> + <attribute name="version" use="required"/> + <attribute name="date" type="date" use="required"/> + </extension> + </simpleContent> + </complexType> + </element> + + <element name="entry"> + <complexType> + <sequence> + <element name="issue" type="cl:issueType" minOccurs="0" maxOccurs="unbounded"/> + <element name="author" type="cl:authorType" maxOccurs="unbounded"/> + <element name="description" type="cl:descriptionType"/> + </sequence> + <attribute name="type" type="cl:changeType" use="required"/> + </complexType> + </element> + + <complexType name="issueType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string" use="required"/> + <attribute name="link" type="anyURI" use="required"/> + </extension> + </simpleContent> + </complexType> + + <simpleType name="changeType"> + <restriction base="string"> + <enumeration value="added"/> + <enumeration value="changed"/> + <enumeration value="deprecated"/> + <enumeration value="removed"/> + <enumeration value="fixed"/> + </restriction> + </simpleType> + + <complexType name="authorType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string"/> + <attribute name="name" type="string"/> + </extension> + </simpleContent> + </complexType> + + <complexType name="descriptionType"> + <simpleContent> + <extension base="string"> + <attribute name="format" type="string" use="required" fixed="asciidoc"/> + </extension> + </simpleContent> + </complexType> + +</schema> diff --git a/changelog-0.1.1.xsd b/changelog-0.1.1.xsd new file mode 100644 index 0000000000..40ce80dbeb --- /dev/null +++ b/changelog-0.1.1.xsd @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://logging.apache.org/log4j/changelog" + xmlns:cl="http://logging.apache.org/log4j/changelog" + elementFormDefault="qualified" + version="0.1.1"> + + <element name="release"> + <complexType> + <simpleContent> + <extension base="string"> + <attribute name="version" use="required"/> + <attribute name="date" type="date" use="required"/> + </extension> + </simpleContent> + </complexType> + </element> + + <element name="entry"> + <complexType> + <sequence> + <element name="issue" type="cl:issueType" minOccurs="0" maxOccurs="unbounded"/> + <element name="author" type="cl:authorType" maxOccurs="unbounded"/> + <element name="description" type="cl:descriptionType"/> + </sequence> + <attribute name="type" type="cl:changeType" use="required"/> + </complexType> + </element> + + <complexType name="issueType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string" use="required"/> + <attribute name="link" type="anyURI" use="required"/> + </extension> + </simpleContent> + </complexType> + + <simpleType name="changeType"> + <restriction base="string"> + <enumeration value="added"/> + <enumeration value="changed"/> + <enumeration value="deprecated"/> + <enumeration value="removed"/> + <enumeration value="fixed"/> + </restriction> + </simpleType> + + <complexType name="authorType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string"/> + <attribute name="name" type="string"/> + </extension> + </simpleContent> + </complexType> + + <complexType name="descriptionType"> + <simpleContent> + <extension base="string"> + <attribute name="format" type="string" use="required"/> + </extension> + </simpleContent> + </complexType> + +</schema> diff --git a/changelog-0.1.2.xsd b/changelog-0.1.2.xsd new file mode 100644 index 0000000000..0a44055774 --- /dev/null +++ b/changelog-0.1.2.xsd @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://logging.apache.org/log4j/changelog" + xmlns:cl="http://logging.apache.org/log4j/changelog" + elementFormDefault="qualified" + version="0.1.2"> + + <element name="release"> + <complexType> + <simpleContent> + <extension base="string"> + <attribute name="version" use="required"/> + <attribute name="date" type="date" use="required"/> + </extension> + </simpleContent> + </complexType> + </element> + + <element name="entry"> + <complexType> + <sequence> + <element name="issue" type="cl:issueType" minOccurs="0" maxOccurs="unbounded"/> + <element name="author" type="cl:authorType" minOccurs="0" maxOccurs="unbounded"/> + <element name="description" type="cl:descriptionType"/> + </sequence> + <attribute name="type" type="cl:changeType" use="required"/> + </complexType> + </element> + + <complexType name="issueType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string" use="required"/> + <attribute name="link" type="anyURI" use="required"/> + </extension> + </simpleContent> + </complexType> + + <simpleType name="changeType"> + <restriction base="string"> + <enumeration value="added"/> + <enumeration value="changed"/> + <enumeration value="deprecated"/> + <enumeration value="removed"/> + <enumeration value="fixed"/> + </restriction> + </simpleType> + + <complexType name="authorType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string"/> + <attribute name="name" type="string"/> + </extension> + </simpleContent> + </complexType> + + <complexType name="descriptionType"> + <simpleContent> + <extension base="string"> + <attribute name="format" type="string" use="required"/> + </extension> + </simpleContent> + </complexType> + +</schema> diff --git a/changelog-0.1.3.xsd b/changelog-0.1.3.xsd new file mode 100644 index 0000000000..921d30adf7 --- /dev/null +++ b/changelog-0.1.3.xsd @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://logging.apache.org/log4j/changelog" + xmlns:cl="http://logging.apache.org/log4j/changelog" + elementFormDefault="qualified" + version="0.1.3"> + + <element name="release"> + <complexType> + <simpleContent> + <extension base="string"> + <attribute name="version" use="required"/> + <attribute name="date" type="date" use="required"/> + </extension> + </simpleContent> + </complexType> + </element> + + <element name="entry"> + <complexType> + <sequence> + <element name="issue" type="cl:issueType" minOccurs="0" maxOccurs="unbounded"/> + <element name="author" type="cl:authorType" minOccurs="0" maxOccurs="unbounded"/> + <element name="description" type="cl:descriptionType"/> + </sequence> + <attribute name="type" type="cl:changeType" use="required"/> + </complexType> + </element> + + <complexType name="issueType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string" use="required"/> + <attribute name="link" type="anyURI" use="required"/> + </extension> + </simpleContent> + </complexType> + + <simpleType name="changeType"> + <restriction base="string"> + <enumeration value="added"/> + <enumeration value="changed"/> + <enumeration value="deprecated"/> + <enumeration value="fixed"/> + <enumeration value="removed"/> + <enumeration value="updated"/> + </restriction> + </simpleType> + + <complexType name="authorType"> + <simpleContent> + <extension base="string"> + <attribute name="id" type="string"/> + <attribute name="name" type="string"/> + </extension> + </simpleContent> + </complexType> + + <complexType name="descriptionType"> + <simpleContent> + <extension base="string"> + <attribute name="format" type="string" use="required"/> + </extension> + </simpleContent> + </complexType> + +</schema>
