Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1446

namespaces not handled correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.6.0
    • None
    • SAX/SAX2
    • None
    • WinXP - MSVC 6.0
      Linux RedHat 8.0 - GCC 3.2

    Description

      If I run SAX2Print sample with the following XML:

      <?xml version="1.0" encoding="utf-8"?>
      <?xml-stylesheet type="text/css" href="/SysConfig/Rules/Eidos/SoleOnLine3/articolo-lead.css"?>
      <dwp xmlns="http://www.w3.org" xmlns:html="http://www.w3.org/Profiles/XHTML-transitional">
      <table border="0" cellpadding="0" cellspacing="0" width="800">
      <tr>
      <td colspan="4">
      <html:img border="0" src="/foto_fisse/header.jpg" width="768" height="83"/>
      </td>
      </tr>
      </table>
      </dwp>

      The output is:

      <?xml version="1.0" encoding="LATIN1"?>
      <?xml-stylesheet type="text/css" href="/SysConfig/Rules/Eidos/SoleOnLine3/artico
      lo-lead.css"?><dwp>
      <table border="0" cellpadding="0" cellspacing="0" width="800">
      <tr>
      <td colspan="4">
      <html:img border="0" src="/foto_fisse/header.jpg" width=
      "768" height="83"></html:img>
      </html:td>
      </html:tr>
      </html:table>
      </html:dwp>

      <td> is closed as </html:td>
      <tr> is closed as </html:tr>

      Version 2.5.0 doens't aver this issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fabioang Fabio Angelini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: