Mule

FilteringXmlMessageSplitter cannot be used with xerces-2.7.x

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2
  • Fix Version/s: 1.3-rc3
  • Component/s: Core: Containers
  • Labels:
    None
  • Similar Issues:
    MULE-1734 Unify references to xml-apis and xerces using Maven's dependencyManagement
    MULE-2700 Mule must not add xml-apis/xerces to the classpath
    MULE-3554 FilteringXmlMessageSplitter does not handle W3C Documents
    MULE-5456 Persisted VM queues cannot be used in flows
    MULE-1147 Upgrade Xerces to 2.8.1
    MULE-2963 FilteringXmlMessageSplitter does not set CorrelationGroupSize
    MULE-6029 JaxpXPathExpressionEvaluator cannot be used in configs as xpath2 is not in the list of allowed expression evaluators
    MULE-2757 Asynchronous TCP use cannot be interleaved
    MULE-5544 Component cannot be used inside of an enricher
    MULE-2637 Mule 1.X cannot use Spring schema config

Description

Below is the diff file with the fix, please incorporate that into your builds

Index: FilteringXmlMessageSplitter.java
===================================================================
RCS file: /scm/mule/mule/mule/src/java/org/mule/routing/outbound/FilteringXmlMessageSplitter.java,v
retrieving revision 1.9
diff -r1.9 FilteringXmlMessageSplitter.java
58a59,62
> // JAXP property for specifying external XSD language (as required by newer JAXP implementation)
> private static final String JAXP_PROPERTIES_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
> private static final String JAXP_PROPERTIES_SCHEMA_LANGUAGE_VALUE = "http://www.w3.org/2001/XMLSchema";
>
146a151
> reader.setProperty(JAXP_PROPERTIES_SCHEMA_LANGUAGE, JAXP_PROPERTIES_SCHEMA_LANGUAGE_VALUE);
170a176
> logger.error("Failed to initialise the payload", ex);

Issue Links

Activity

Hide
Andrew Perepelytsya added a comment - 14/Feb/06 01:12 PM

Ilya,

Could you please generate a unified diff (more details an examples at http://mule.codehaus.org/Getting+Involved) so it follows the project standard?

May I also suggest you generate it against the version on the 2.0 branch? It has more features than the version in 1.3 and will be backported, as it is pretty much self-contained.

Show
Andrew Perepelytsya added a comment - 14/Feb/06 01:12 PM Ilya, Could you please generate a unified diff (more details an examples at http://mule.codehaus.org/Getting+Involved) so it follows the project standard? May I also suggest you generate it against the version on the 2.0 branch? It has more features than the version in 1.3 and will be backported, as it is pretty much self-contained.
Hide
Andrew Perepelytsya added a comment - 15/Feb/06 12:19 AM

Attempt to apply the original patch resulted in the following error:

(Stripping trailing CRs from patch.)
patching file FilteringXmlMessageSplitter.java
patch: **** `>' expected at line 10 of patch

Show
Andrew Perepelytsya added a comment - 15/Feb/06 12:19 AM Attempt to apply the original patch resulted in the following error: (Stripping trailing CRs from patch.) patching file FilteringXmlMessageSplitter.java patch: **** `>' expected at line 10 of patch
Hide
Andrew Perepelytsya added a comment - 24/Apr/06 07:57 PM

The problem exists only with xerces familty 2.7.x, it complains about schemaLanguage property not being set before schemaLocation or smth.

Show
Andrew Perepelytsya added a comment - 24/Apr/06 07:57 PM The problem exists only with xerces familty 2.7.x, it complains about schemaLanguage property not being set before schemaLocation or smth.
Hide
Holger Hoffstaette added a comment - 29/Apr/06 03:16 PM

Can you try with 2.8.0? We have to get this working sooner or later..

Show
Holger Hoffstaette added a comment - 29/Apr/06 03:16 PM Can you try with 2.8.0? We have to get this working sooner or later..
Hide
Holger Hoffstaette added a comment - 10/May/06 09:34 AM

hopefully fixed with r2085 (still need to fix the xerces jars)

Show
Holger Hoffstaette added a comment - 10/May/06 09:34 AM hopefully fixed with r2085 (still need to fix the xerces jars)

People

Vote (0)
Watch (0)

Dates

  • Created:
    14/Feb/06 06:59 AM
    Updated:
    13/May/08 12:59 PM
    Resolved:
    10/May/06 09:34 AM