[ expat-Bugs-771612 ] Namespace separator ` won't work?
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #771612, was opened at 2003-07-15 09:52 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=771612&group_id=10127 >Category: None Group: None Status: Open 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: Fred L. Drake, Jr. (fdrake) Date: 2003-07-15 10: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