#25 fix XML_SetReturnNSTriplet

closed-rejected
None
5
2002-04-19
2001-09-09
No

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'.

Discussion

  • Fred L. Drake, Jr.

    • assigned_to: nobody --> fdrake
     
  • Karl Waclawek

    Karl Waclawek - 2001-09-25

    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

     
  • Fred L. Drake, Jr.

    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.

     
  • Fred L. Drake, Jr.

    • status: open --> closed-rejected
     
  • Nobody/Anonymous

    Logged In: NO

    What is the contest of these two files?

    photoSchema.xml
    digSchema.xml

     
  • Nobody/Anonymous

    Logged In: NO

    photoSchema.xml
    digSchema.xml

    Thanks
    busyrushy@hotmail.com

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks