[
https://issues.apache.org/jira/browse/ARTEMIS-2295?focusedWorklogId=223832&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223832
]
ASF GitHub Bot logged work on ARTEMIS-2295:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Apr/19 20:24
Start Date: 05/Apr/19 20:24
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on pull request #2610:
ARTEMIS-2295 fix IBM JDK schema parsing
URL: https://github.com/apache/activemq-artemis/pull/2610#discussion_r272732154
##########
File path: artemis-server/src/main/resources/schema/artemis-configuration.xsd
##########
@@ -1669,12 +1669,24 @@
</xsd:complexType>
<xsd:complexType name="federationTransformerType">
- <xsd:complexContent>
- <xsd:extension base="transformerType">
- <xsd:attribute name="name" type="xsd:ID" use="required" />
- <xsd:attributeGroup ref="xml:specialAttrs"/>
- </xsd:extension>
- </xsd:complexContent>
+ <xsd:sequence>
Review comment:
look at the JIRA for more information. Basically IBM JDK is complaining for
no absolute reason.
I'm doing a copy & paste instead of the inheritance.
not as cool.. but I don't know how to solve the IBM JDK
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 223832)
Time Spent: 0.5h (was: 20m)
> IBM JDK Cannot parse new XSD
> ----------------------------
>
> Key: ARTEMIS-2295
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2295
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 2.7.0
> Reporter: clebert suconic
> Priority: Major
> Fix For: 2.8.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> This does not make much sense to me. but Basically IBM JDK cannot parse the
> schema using extensions with complex types.
>
> It's always complaining about the follwing:
>
> #
> org.xml.sax.SAXParseException: ct-props-correct.4: Error for type
> 'federationTransformerType'. Duplicate attribute uses with the same name and
> target namespace are specified. Name of duplicate attribute use is 'base'.
> #
> at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
> #
> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
> #
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
> #
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)