You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Joanne Bogart <jr...@slac.stanford.edu> on 2004/05/10 19:19:36 UTC

Re: bug 23100 Was:Re: Xerces-C 2.6 Features List

Gareth Reakes wrote:

>Hi,
>	pestering is sometimes a good idea :) 
>
Is it a good idea now?  

>I have accepted the bug and
>will take a look next week (at XML Europe beginning so probably towards the
>end.
>
>Gareth
>
>  
>
Have you had a chance to look at it all?  Any thoughts?
 
best regards,
   Joanne

>
>On Wed, 14 Apr 2004, Joanne Bogart wrote:
>
>  
>
>>This all looks very nice; is there any comparable planning or scheduling
>>for bug fixes? In particular, I submitted a patch for bug 23100 on March
>>20th. Is there such a thing a typical response time?
>>
>>My application is stuck back at Xerces 1.7 without some kind of fix.
>>I'd rather not get into the business of distributing a private version
>>of the source or multiple flavors of binaries to our far-flung users and
>>developers; worse, though the patched version works fine for us, I'm not
>>able to verify that I haven't broken something else.
>>
>>Thanks,
>>Joanne Bogart
>>--
>>    
>>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


RE: UTF-8 Encoding problem

Posted by Peter Guyatt <pg...@telesoft-technologies.com>.
Hi There,

    Thanks to everyone for the reply, however if I actually encoded the
characters in the name tag as UTF-8 then xerces was fine.

Thanks again

Pete
  -----Original Message-----
  From: PeiYong PY Zhang [mailto:peiyongz_xml@ca.ibm.com]On Behalf Of
PeiYong Zhang
  Sent: 14 May 2004 16:46
  To: xerces-c-dev@xml.apache.org
  Subject: Re: UTF-8 Encoding problem



  Peter,

      I've tried your sample instance file with the current version, 2.5.0
and did not see any exception,
  can you use this version rather than 2.2.0?

  Rgds
  Peiyong

  "Peter Guyatt" <pg...@telesoft-technologies.com> wrote on 05/11/2004
08:28:15 AM:

  > Hi All,
  >
  >    I was wondering if someone would be able to answer a question I have.
  >
  > I parse the a document as UTF-8 using xerces c 2.2.0 and get an error in
my
  > custom handler stating the following error.
  >
  > Fatal Error line 5, col 15, Message:An Exception occurred!
  > Type:TranscodingException, Message:An invalid multi-byte source text
  > sequence was encountered
  >
  > The actual entry in the XML file is as follows:
  >
  > <?xml version="1.0" encoding="UTF-8"?>
  > <Maintenance>
  >    <DMPair>
  >       <Instance>1</Instance>
  >       <Name>simeecauaeiouaeiou</Name> <!-- Exception here -->
  >       <ServerPort>9001</ServerPort>
  >       <IpAddressNode0>172.16.3.28</IpAddressNode0>
  >       <IpAddressNode1>172.16.3.29</IpAddressNode1>
  >       <Enabled>False</Enabled>
  >       <FailureRoutingType>3</FailureRoutingType>
  >       <FailureRoutingData>2</FailureRoutingData>
  >    </DMPair>
  > </Maintenance>
  >
  > I am pretty sure that the characters in the Name tag are fine since I
have
  > look at the UTF-8 spec and their character values appear to in the valid
set
  > of unicode characters, also this document parses fine using
Xerces-J-2.6.2.
  >
  > Any insight into this will be greatly appreciated.
  >
  > Thanks in advance
  >
  > Pete
  >
  >
  >
  >
  >
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
  > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
  >

Re: UTF-8 Encoding problem

Posted by PeiYong Zhang <pe...@ca.ibm.com>.
Peter,

    I've tried your sample instance file with the current version, 2.5.0 
and did not see any exception,
can you use this version rather than 2.2.0?

Rgds
Peiyong

"Peter Guyatt" <pg...@telesoft-technologies.com> wrote on 05/11/2004 
08:28:15 AM:

> Hi All,
> 
>    I was wondering if someone would be able to answer a question I have.
> 
> I parse the a document as UTF-8 using xerces c 2.2.0 and get an error in 
my
> custom handler stating the following error.
> 
> Fatal Error line 5, col 15, Message:An Exception occurred!
> Type:TranscodingException, Message:An invalid multi-byte source text
> sequence was encountered
> 
> The actual entry in the XML file is as follows:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Maintenance>
>    <DMPair>
>       <Instance>1</Instance>
>       <Name>simeecauaeiouaeiou</Name> <!-- Exception here -->
>       <ServerPort>9001</ServerPort>
>       <IpAddressNode0>172.16.3.28</IpAddressNode0>
>       <IpAddressNode1>172.16.3.29</IpAddressNode1>
>       <Enabled>False</Enabled>
>       <FailureRoutingType>3</FailureRoutingType>
>       <FailureRoutingData>2</FailureRoutingData>
>    </DMPair>
> </Maintenance>
> 
> I am pretty sure that the characters in the Name tag are fine since I 
have
> look at the UTF-8 spec and their character values appear to in the valid 
set
> of unicode characters, also this document parses fine using 
Xerces-J-2.6.2.
> 
> Any insight into this will be greatly appreciated.
> 
> Thanks in advance
> 
> Pete
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 

UTF-8 Encoding problem

Posted by Peter Guyatt <pg...@telesoft-technologies.com>.
Hi All,

	I was wondering if someone would be able to answer a question I have.

I parse the a document as UTF-8 using xerces c 2.2.0 and get an error in my
custom handler stating the following error.

Fatal Error line 5, col 15, Message:An Exception occurred!
Type:TranscodingException, Message:An invalid multi-byte source text
sequence was encountered

The actual entry in the XML file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<Maintenance>
	<DMPair>
		<Instance>1</Instance>
		<Name>simeecauaeiouaeiou</Name> <!-- Exception here -->
		<ServerPort>9001</ServerPort>
		<IpAddressNode0>172.16.3.28</IpAddressNode0>
		<IpAddressNode1>172.16.3.29</IpAddressNode1>
		<Enabled>False</Enabled>
		<FailureRoutingType>3</FailureRoutingType>
		<FailureRoutingData>2</FailureRoutingData>
	</DMPair>
</Maintenance>

I am pretty sure that the characters in the Name tag are fine since I have
look at the UTF-8 spec and their character values appear to in the valid set
of unicode characters, also this document parses fine using Xerces-J-2.6.2.

Any insight into this will be greatly appreciated.

Thanks in advance

Pete






---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: bug 23100 Was:Re: Xerces-C 2.6 Features List

Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
Hey,
	good timing :) This really is still on my todo list. I have been
hugely busy. I did download the patch the other day and started to look
at it. Expect questions to be asked or it to be committed by the end of the
week.

Gareth



On Mon, 10 May 2004, Joanne Bogart wrote:

> Gareth Reakes wrote:
>
> >Hi,
> >	pestering is sometimes a good idea :)
> >
> Is it a good idea now?
>
> >I have accepted the bug and
> >will take a look next week (at XML Europe beginning so probably towards the
> >end.
> >
> >Gareth
> >
> >
> >
> Have you had a chance to look at it all?  Any thoughts?
>
> best regards,
>    Joanne
>
> >
> >On Wed, 14 Apr 2004, Joanne Bogart wrote:
> >
> >
> >
> >>This all looks very nice; is there any comparable planning or scheduling
> >>for bug fixes? In particular, I submitted a patch for bug 23100 on March
> >>20th. Is there such a thing a typical response time?
> >>
> >>My application is stuck back at Xerces 1.7 without some kind of fix.
> >>I'd rather not get into the business of distributing a private version
> >>of the source or multiple flavors of binaries to our far-flung users and
> >>developers; worse, though the patched version works fine for us, I'm not
> >>able to verify that I haven't broken something else.
> >>
> >>Thanks,
> >>Joanne Bogart
> >>--
> >>
> >>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>

-- 
Gareth Reakes, Managing Director      Parthenon Computing
+44-1865-811184                  http://www.parthcomp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org