Hi,
I just moved from CXF 2.0.2 to CXF 2.0.3 because http-conduit spring
configuration issue has been resolved in CXF 2.0.3. Now I have a
different problem that I am hoping you can help resolve (or work
around).

In org.apache.cxf.aegis.type.XMLTypeCreator, there was a static block
added to initialize the aegisDocumentBuildFactory. In that, you call
aegisDocumentBuilderFactory.setSchema(aegisSchema).

I use resin as our appserver. Resin's XML parser implementation does not
override setSchema(Schema) method of
javax.xml.parsers.DocumentBuilderFactory. The default implementation is
to throw an UnsupportedOperationException. I suspect that some other
implementations of XML parsers do not support this for performance's
sake. Can you eat this exception as well, as a workaround for this
issue.

Something like so:

    static {
        String path = "/META-INF/cxf/aegis.xsd";
        InputStream is = XMLTypeCreator.class.getResourceAsStream(path);
        if (is != null) {
            try {
                SchemaFactory schemaFactory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
                aegisSchema = schemaFactory.newSchema(new
StreamSource(is));
                is.close();

                aegisDocumentBuilderFactory =
DocumentBuilderFactory.newInstance();
                aegisDocumentBuilderFactory.setSchema(aegisSchema);
            } catch (IOException ie) {
                LOG.error("Error reading Aegis schema", ie);
            } catch (FactoryConfigurationError e) {
                LOG.error("Error reading Aegis schema", e);
            } catch (SAXException e) {
                LOG.error("Error reading Aegis schema", e);
+           } catch (UnsupportedOperationException uoe) {
+               LOG.error("Error setting Aegis schema", e);
            }
        }
    }

Or insight into any other way of dealing with it is appreciated.

Thanks,
Satish

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 14, 2007 7:04 PM
To: Satish Gudiboina
Subject: WELCOME to cxf-issues@incubator.apache.org

Hi! This is the ezmlm program. I'm managing the
cxf-issues@incubator.apache.org mailing list.

I'm working for my owner, who can be reached at
[EMAIL PROTECTED]

Acknowledgment: I have added the address

   [EMAIL PROTECTED]

to the cxf-issues mailing list.

Welcome to [EMAIL PROTECTED]

Please save this message so that you know the address you are subscribed
under, in case you later want to unsubscribe or change your subscription
address.


--- Administrative commands for the cxf-issues list ---

I can handle administrative requests automatically. Please do not send
them to the list address! Instead, send your message to the correct
command address:

To subscribe to the list, send a message to:
   <[EMAIL PROTECTED]>

To remove your address from the list, send a message to:
   <[EMAIL PROTECTED]>

Send mail to the following for info and FAQ for this list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

Similar addresses exist for the digest list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <[EMAIL PROTECTED]>

To get an index with subject and author for messages 123-456 , mail:
   <[EMAIL PROTECTED]>

They are always returned as sets of 100, max 2000 per request, so you'll
actually get 100-499.

To receive all messages with the same subject as message 12345, send a
short message to:
   <[EMAIL PROTECTED]>

The messages do not really need to be empty, but I will ignore their
content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address, for example
"[EMAIL PROTECTED]", just add a hyphen and your address (with '=' instead
of '@') after the command word:
<[EMAIL PROTECTED]>

To stop subscription for this address, mail:
<[EMAIL PROTECTED]>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the desired
results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 64586 invoked by uid 99); 15 Nov 2007 03:04:20 -0000
Received: from athena.apache.org (HELO athena.apache.org)
(140.211.11.136)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 19:04:20
-0800
X-ASF-Spam-Status: No, hits=-0.0 required=10.0
        tests=SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of
[EMAIL PROTECTED] designates 216.239.127.182 as permitted
sender)
Received: from [216.239.127.182] (HELO c12-smtp2e.cnet.com)
(216.239.127.182)
    by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 03:04:10
+0000
X-SBRS: None
X-IronPort-AV: E=Sophos;i="4.21,418,1188802800"; 
   d="scan'208";a="206483778"
Received: from cnet139.cnet.cnwk ([10.16.0.67])
  by c12-smtp2e.cnet.cnwk with ESMTP; 14 Nov 2007 19:04:04 -0800
Received: from C12-E2K3-MBOX02.cnet.cnwk ([10.16.0.43]) by
cnet139.cnet.cnwk with Microsoft SMTPSVC(6.0.3790.3959);
         Wed, 14 Nov 2007 19:04:03 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: confirm subscribe to cxf-issues@incubator.apache.org
Date: Wed, 14 Nov 2007 19:04:03 -0800
Message-ID:
<[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: confirm subscribe to cxf-issues@incubator.apache.org
Thread-Index: AcgnNBZQWM7RH+LqSgGssjU5bagtpwAABYYw
References: <[EMAIL PROTECTED]>
From: "Satish Gudiboina" <[EMAIL PROTECTED]>
To:
<cxf-issues-sc.1195095787.cpajmnggiihpneldfbii-Satish.Gudiboina=cnet.com
@incubator.apache.org>
X-OriginalArrivalTime: 15 Nov 2007 03:04:03.0757 (UTC)
FILETIME=[2DA415D0:01C82734]
X-Virus-Checked: Checked by ClamAV on apache.org

=20

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 14, 2007 7:03 PM
To: Satish Gudiboina
Subject: confirm subscribe to cxf-issues@incubator.apache.org

Hi! This is the ezmlm program. I'm managing the
cxf-issues@incubator.apache.org mailing list.

I'm working for my owner, who can be reached at
[EMAIL PROTECTED]

To confirm that you would like

   [EMAIL PROTECTED]

added to the cxf-issues mailing list, please send a short reply to this
address:

=20
cxf-issues-sc.1195095787.cpajmnggiihpneldfbii-Satish.Gudiboina=3Dcnet.co
m=
@
incubator.apache.org

Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into the
"To:" field of a new message.

or click here:
=09
mailto:cxf-issues-sc.1195095787.cpajmnggiihpneldfbii-Satish.Gudiboina=3D
c=
n
[EMAIL PROTECTED]

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.

Some mail programs are broken and cannot handle long addresses. If you
cannot reply to this request, instead send a message to
<[EMAIL PROTECTED]> and put the entire address
listed above into the "Subject:" line.


--- Administrative commands for the cxf-issues list ---

I can handle administrative requests automatically. Please do not send
them to the list address! Instead, send your message to the correct
command address:

To subscribe to the list, send a message to:
   <[EMAIL PROTECTED]>

To remove your address from the list, send a message to:
   <[EMAIL PROTECTED]>

Send mail to the following for info and FAQ for this list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

Similar addresses exist for the digest list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <[EMAIL PROTECTED]>

To get an index with subject and author for messages 123-456 , mail:
   <[EMAIL PROTECTED]>

They are always returned as sets of 100, max 2000 per request, so you'll
actually get 100-499.

To receive all messages with the same subject as message 12345, send a
short message to:
   <[EMAIL PROTECTED]>

The messages do not really need to be empty, but I will ignore their
content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address, for example
"[EMAIL PROTECTED]", just add a hyphen and your address (with '=3D' =
instead of '@') after the command word:
<[EMAIL PROTECTED]>

To stop subscription for this address, mail:
<[EMAIL PROTECTED]>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the desired
results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 62671 invoked by uid 99); 15 Nov 2007 03:03:07 -0000
Received: from athena.apache.org (HELO athena.apache.org)
(140.211.11.136)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 19:03:07
-0800
X-ASF-Spam-Status: No, hits=3D-0.2 required=3D10.0
=09
tests=3DASF_EMPTY_LIST_OPS,ASF_LIST_OPS,EMPTY_MESSAGE,MISSING_SUBJECT,SP
F=
_
PASS,TVD_SPACE_RATIO
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of
[EMAIL PROTECTED] designates 216.239.127.182 as permitted
sender)
Received: from [216.239.127.182] (HELO c12-smtp2e.cnet.com)
(216.239.127.182)
    by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 03:02:58
+0000
X-SBRS: None
X-IronPort-AV: E=3DSophos;i=3D"4.21,418,1188802800";=20
   d=3D"scan'208";a=3D"206483612"
Received: from cnet139.cnet.cnwk ([10.16.0.67])
  by c12-smtp2e.cnet.cnwk with ESMTP; 14 Nov 2007 19:02:52 -0800
Received: from C12-E2K3-MBOX02.cnet.cnwk ([10.16.0.43]) by
cnet139.cnet.cnwk with Microsoft SMTPSVC(6.0.3790.3959);
         Wed, 14 Nov 2007 19:02:51 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
        charset=3D"us-ascii"
Content-Transfer-Encoding: quoted-printable Subject:=20
Date: Wed, 14 Nov 2007 19:02:51 -0800
Message-ID:
<[EMAIL PROTECTED]>
X-MS-Has-Attach:=20
X-MS-TNEF-Correlator:=20
Thread-Index: AcgnNAJ7sBST6uoGSAWSxcAHG9NTHA=3D=3D
From: "Satish Gudiboina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 15 Nov 2007 03:02:52.0025 (UTC)
FILETIME=3D[02E2A690:01C82734]
X-Virus-Checked: Checked by ClamAV on apache.org

Reply via email to