XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Apache needs help

There are, I suspect, two underlying "root causes" here.

The first problem is that when XML is peripheral to a project, for example when it's only used for configuration files, the people doing the XML part often make a complete mess of it, because they think they can do XML without learning about it first.

The second problem is that open source projects frequently suffer from inadequate quality control at the design stage, or have inadequate review of what contributors and contributions they accept.

Before getting involved in helping a project like this with its XML skills, I would want to know that it has the right processes and attitudes in place to deliver a quality product.

Michael Kay
Saxonica

On 8 May 2018, at 06:03, Rick Jelliffe <rjelliffe@allette.com.au> wrote:

Do those of us who want to keep XML a viable technology (i.e. one that works when need it, rather than needing to be fixed when we need it) need to pay more attention to things like Apache? 

Yet again I am having the experience of Apache that they really messed up their XML when they moved to XSD.  (It is so bad, I think they need support. In particular, a positive one, where perhaps members of this list could send in fixes for their schemas etc.)

My current issue is that the schema for the XML Configuration for Apache Log4J 2.0 is hopelessly incomplete.   (When they moved from 1 to 2 they abandoned DTDs, with any thing goes mentality, so they now support YAML, JSON, Properties and ad hoc XML. Of course, it is too complicated, unless you are building the code and have it in your debugger to trace what config options you actually need. So they had to retrofit an XSD after all, which mean having a different "strict" XML format. So five formats, and it looks in up to seven different locations. So wrong.

In fact, it is just a mode, where in strict mode you must use Type element instead of type attribute and, if you pass it a schema, it will validate.  (You can see this at https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java  line 324 ) The problem being that their provided schema is incomplete. 

I will check it out and update here if I get anywhere with it.

Regards
Rick



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS