I'm not sure what the problem would be, but just to get clarification... You say you are using Xerces-2.7.1. Are you using it directly or via JAXP? If via JAXP, did you put Xerces.jar into JAVA_HOME/jre/lib/endorsed (or other endorsed dir)? If not, you are using Sun's internal version of Xerces which is well known to have bugs that Xerces never had and bugs that have long since been fixed in newer versions of Xerces.

Jake

On Thu, 24 Jan 2008 09:44:57 -0800 (PST)
 cbowditch <[EMAIL PROTECTED]> wrote:

I have some XML like:

                <OtherRecord2000>
                        <AccountNumber>R000239125</AccountNumber>
                        <SaleOfDeclineCompany/>
                        <CustomerReferral>Y</CustomerReferral>
                        <CustomerReferralCode>07</CustomerReferralCode>
                        <CustomerReferralAction>10</CustomerReferralAction>
                        <DeclineReasonCode>D3</DeclineReasonCode>
                        <DeclineDate>12092006</DeclineDate>
                        <PendReasonCode/>
                        <CancelReasonCode/>
                        <NTUReasonCode/>
                        <RepaymentMethod>DD</RepaymentMethod>
                        <PaymentMethod>BA</PaymentMethod>
                        <EmploymentStatus>E</EmploymentStatus>
                        
<ContraAccountNumber1>0000000088230347</ContraAccountNumber1>
                        <ContraAccountNumber2/>
                        <ContraAccountNumber3/>
                        <ContraAccountNumber4/>
                        <ContraAccountNumber5/>
                </OtherRecord2000>

When the SAX parser parses this XML on Windows XP, Sun JDK 1.5.0_11, a
character event is generated inbetween the start and end element events for
ContraAccountNumber2 (and 3,4,5). The character events contains only CR+LF
but I don't expect this event here!!

I'm using Xerces-J 2.7.1. I had a quick search of the archives and JIRA but
didn't find anything similar. Has anyone seen anything like this before? The
other thing is that this behaviour doesn't occur on my machine just on 2 of
my colleagues machines which makes me think Xerces isn't to blame but I've
searched and searched for the solution to this problem in vain :(
--
View this message in context: http://www.nabble.com/unexpected-SAX-character-event-tp15070639p15070639.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to