[Expat-bugs] [ expat-Bugs-771612 ] Namespace separator ` won't work?

SourceForge.net noreply at sourceforge.net
Wed Jul 16 08:55:14 EDT 2003


Bugs item #771612, was opened at 2003-07-15 15:52
Message generated for change (Comment added) made by wkoestin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=771612&group_id=10127

Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Wilhelm Koestinger (wkoestin)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Namespace separator ` won't work?

Initial Comment:
I'm trying to get Sabltron 0.98 and Expat 1.95.5 
together with php 4.3.2 working on AIX 5.1.

I can compile everthing i need, but get a segmentation 
fault when running the whole stuff.

Analyzing the core dump, i tracked the error down to the 
function XML_ParserCreateNS(..). I then ran your unit 
tests, which worked fine.

Looking at the Sablotron code, i found out that they are 
using "`" as namespace character. When i used this 
character in your unit tests, they failed.

Running suite(s): basic
89%: Checks: 29, Failures: 3, Errors: 0
tests/runtests.c:674:F:XML namespaces: unexpected 
start string: 'http://expat.sf.net/`e`foo'
tests/chardata.c:96:F:XML namespaces: got bad data 
bytes
tests/chardata.c:96:F:XML namespaces: got bad data 
bytes
make: *** [check] Error 1

Can you tell me if "`" is not a valid namespace separator?

I appriciate any help you can give to me!

Thanks,
Willi



----------------------------------------------------------------------

>Comment By: Wilhelm Koestinger (wkoestin)
Date: 2003-07-16 16:55

Message:
Logged In: YES 
user_id=822862

gnu iconv version 1.8

i found some messages on the php-dev mailinglist and the 
gingerall.cz message archive concering this problem.

it seems to be a linker problem on AIX.
i was told to link it statically, then it should work.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2003-07-16 16:26

Message:
Logged In: NO 

what iconv are you using? the IBM or gnu version?

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2003-07-15 16:50

Message:
Logged In: YES 
user_id=3066

If you only changed namespace_setup() to use a single quote
instead of a space, the strings that encode the expected
output no longer match what should be expected.  If those
are also changed, using ' works fine.

Can you try building Sablotron with the current CVS version
of Expat?  We'd like to release Expat 1.96.7 in the near
future, so making sure this version works with Sablotron is
important.

Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=771612&group_id=10127



More information about the Expat-bugs mailing list