[ 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 &quot;[#231864]  XML_SetReturnNSTriplet doesn't work
as documented&quot;.

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:
...
&lt;cameras xmlns:dig=&quot;x-schema:digSchema.xml&quot;
         xmlns:photo=&quot;x-schema:photoSchema.xml&quot;&gt;
  &lt;dig:camera prodID=&quot;P663&quot; name=&quot;Click-N-Go Camera&quot;
     pixels=&quot;410000&quot; output_res=&quot;640 x 480&quot; int_mem=&quot;2 MB&quot;
     price=&quot;300.99&quot;/&gt;
...
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.