Skip to content

Commit

Permalink
The initial XML Schemas page
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Feb 22, 2024
1 parent f674214 commit 3a767d3
Show file tree
Hide file tree
Showing 7 changed files with 459 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
</ul>
</li>
</ul>

<ul class="nav">
<li><a href="/xml/ns">XML Schemas</a></li>
</ul>
<ul class="nav pull-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache<b class="caret"></b></a>
Expand Down
54 changes: 54 additions & 0 deletions xml/ns/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
////
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

http://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.
////
= XML Schemas for Apache Logging Services projects
All XML Schemas for Apache Logging Services projects are published at this directory.
The canonical name for this directory is `https://logging.apache.org/xml/ns`.
[#log4j-changelog]
== `log4j-changelog` schemas
https://logging.apache.org/log4j/tools/latest/#log4j-changelog[log4j-changelog] is a tool to maintain changelogs.
It is designed for Apache Log4j, but can be used for any Java project.
[%header,cols="3*"]
|===
|Publication date
|File name
|Associated release
|2023-02-03
|xref:log4j-changelog-0.1.0.xsd[]
|xref:/log4j/tools/latest/#release-notes-0-2-0[Log4j Tools `0.2.0`]
|2023-03-17
|xref:log4j-changelog-0.1.1.xsd[]
|xref:/log4j/tools/latest/#release-notes-0-3-0[Log4j Tools `0.3.0`]
|2023-09-28
|xref:log4j-changelog-0.1.2.xsd[]
|xref:/log4j/tools/latest/#release-notes-0-5-0[Log4j Tools `0.5.0`]
|2023-12-13
|xref:log4j-changelog-0.1.3.xsd[]
|xref:/log4j/tools/latest/#release-notes-0-7-0[Log4j Tools `0.7.0`]
|2024-02-22
|xref:log4j-changelog-1.0.0.xsd[]
|N/A
|===
82 changes: 82 additions & 0 deletions xml/ns/log4j-changelog-0.1.0.xsd
Original file line number Diff line number Diff line change
@@ -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>
82 changes: 82 additions & 0 deletions xml/ns/log4j-changelog-0.1.1.xsd
Original file line number Diff line number Diff line change
@@ -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>
82 changes: 82 additions & 0 deletions xml/ns/log4j-changelog-0.1.2.xsd
Original file line number Diff line number Diff line change
@@ -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>
83 changes: 83 additions & 0 deletions xml/ns/log4j-changelog-0.1.3.xsd
Original file line number Diff line number Diff line change
@@ -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>
Loading

0 comments on commit 3a767d3

Please sign in to comment.