When you use an IBM JDK, the downstream property added to the XSD does not work.

I had dealt with this in the past, apparently the schema parser on the
IBM JDK does not know how to handle inheritance.


@Christopher Shannon  is there a way we can just copy & paste
inheritance here, so we can pass this? I have always tested IBM JDK in
the past, and it stopped running after this change.


To replicate the issue, just run the broker using the IBM JDK, and you
should see this:


org.xml.sax.SAXParseException: ct-props-correct.4: Error for type
'downstreamType'. 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)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
Source)
at 
org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.reportSchemaError(Unknown
Source)
at 
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.handleComplexTypeError(Unknown
Source)



--
Clebert Suconic

Reply via email to