[ expat-Patches-460042 ] fix XML_SetReturnNSTriplet
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Patches item #460042, was opened at 2001-09-09 10:15 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=460042&group_id=10127 Category: None Group: None Status: Closed Resolution: Rejected Priority: 5 Submitted By: TAKAHASHI Masayoshi (maki) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: fix XML_SetReturnNSTriplet Initial Comment: This is a patch for lib/xmlparser.c, to fix XML_SetReturnNSTriplet. It may be solved "[#231864] XML_SetReturnNSTriplet doesn't work as documented". This patch is written by yoshidam. He writes Ruby's expat library 'XMLParser'. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-12-22 17:22 Message: Logged In: NO photoSchema.xml digSchema.xml Thanks [email protected] ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-12-22 17:20 Message: Logged In: NO What is the contest of these two files? photoSchema.xml digSchema.xml ---------------------------------------------------------------------- Comment By: Fred L. Drake, Jr. (fdrake) Date: 2002-04-19 14:01 Message: Logged In: YES user_id=3066 The bug this addresses is now closed. An alternate version of this patch was used; see SF patch #476929. ---------------------------------------------------------------------- Comment By: Karl Waclawek (kwaclaw) Date: 2001-09-25 10:09 Message: Logged In: YES user_id=290026 I have applied the patch, and it seem to work with the compile options as installed (release 1.95.2 for Win32). However, if I recompile with XML_UNICODE and XML_UNICODE_WCHAR_T defined, the last (third) element was not returned in my test example: ... <cameras xmlns:dig="x-schema:digSchema.xml" xmlns:photo="x-schema:photoSchema.xml"> <dig:camera prodID="P663" name="Click-N-Go Camera" pixels="410000" output_res="640 x 480" int_mem="2 MB" price="300.99"/> ... with the namespace separator '^', the patched code returns the element name 'x-schema:digSchema.xml^camera', instead of 'x-schema:digSchema.xml^camera^dig:camera'. Karl ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=460042&group_id=10127