Skip to content

Commit

Permalink
Change namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Jan 19, 2024
1 parent ca9ec47 commit 5eb5e66
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
public class DefaultSchemaGenerator implements SchemaGenerator {

private static final String LOG4J_PREFIX = "log4j";
private static final String LOG4J_NAMESPACE = "http://logging.apache.org/log4j/2.0/config";
private static final String LOG4J_NAMESPACE = "http://logging.apache.org/xml/ns/config";
private static final String XSD_NAMESPACE = XMLConstants.W3C_XML_SCHEMA_NS_URI;
private static final String MULTIPLICITY_UNBOUNDED = "*";
private static final String UTF_8 = "UTF-8";
Expand Down
2 changes: 1 addition & 1 deletion log4j-docgen/src/main/mdo/plugins-model.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
-->
<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0"
xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/2.0.0 https://codehaus-plexus.github.io/modello/xsd/modello-2.0.0.xsd"
xml.namespace="https://logging.apache.org/log4j/plugins">
xml.namespace="https://logging.apache.org/xml/ns/plugins">
<id>plugins</id>
<name>PluginBundle</name>
<description>Documents a set of Log4j plugins.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<pluginSet xmlns="https://logging.apache.org/log4j/plugins"
<pluginSet xmlns="https://logging.apache.org/xml/ns/plugins"
version="0.1.0">
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<pluginSet xmlns="https://logging.apache.org/log4j/plugins" version="0.1.0">
<pluginSet xmlns="https://logging.apache.org/xml/ns/plugins" version="0.1.0">
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.22.0</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
~ This is a test schema used in SchemaGeneratorTest.
~ Unlike this file the DefaultSchemaGenerator strips whitespace.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:log4j="http://logging.apache.org/log4j/2.0/config" elementFormDefault="qualified" targetNamespace="http://logging.apache.org/log4j/2.0/config">
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:log4j="http://logging.apache.org/xml/ns/config" elementFormDefault="qualified" targetNamespace="http://logging.apache.org/xml/ns/config">
<element type="log4j:org.apache.logging.log4j.core.config.Configuration" name="Configuration"/>
<simpleType name="org.apache.logging.log4j.Level">
<annotation>
Expand Down

0 comments on commit 5eb5e66

Please sign in to comment.