You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/02/22 19:32:28 UTC

(logging-log4j-tools) branch asf-site updated: Add the initial `1.x./xsd/changelog.xsd`

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 943b31e  Add the initial `1.x./xsd/changelog.xsd`
943b31e is described below

commit 943b31ee73d39aeb8bc2b9ed16b7bfcb02eb1705
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Thu Feb 22 20:32:33 2024 +0100

    Add the initial `1.x./xsd/changelog.xsd`
    
    This is necessary for XML validation during build of the
    upcoming `log4j-tools` version `1.0.0` release.
---
 1.x/xsd/changelog.xsd | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/1.x/xsd/changelog.xsd b/1.x/xsd/changelog.xsd
new file mode 100644
index 0000000..d6160b0
--- /dev/null
+++ b/1.x/xsd/changelog.xsd
@@ -0,0 +1,73 @@
+<?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="1.0.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="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="descriptionType">
+    <simpleContent>
+      <extension base="string">
+        <attribute name="format" type="string" use="required"/>
+      </extension>
+    </simpleContent>
+  </complexType>
+
+</schema>