Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1091

DataObjectXMLStreamReader doesn't have to repeat NameSpace declaration which impacts performance

    XMLWordPrintableJSON

Details

    Description

      <p0:quotes3>
      <p1:symbol3 xmlns:p1="http://www.example.com/simple3">IBM</p1:symbol3>
      <p1:company3 xmlns:p1="http://www.example.com/simple3">IBM Corp.</p1:company3>
      </p0:quotes3>
      can be optimized as
      <p0:quotes3 xmlns:p1="http://www.example.com/simple3">
      <p1:symbol3>IBM</p1:symbol3>
      <p1:company3>IBM Corp.</p1:company3>
      </p0:quotes3>

      Thanks to Fuhwei Lwo for prototyping the Test Case. I've made small changes to make use of HelperContext so that it will neither interfere nor be interfereed by other build test(s).

      Attachments

        1. bindLessNS
          9 kB
          Yang ZHONG
        2. bindLessNS
          6 kB
          Yang ZHONG
        3. bindLessNS.patch
          9 kB
          Yang ZHONG
        4. org.apache.tuscany.sdo.test.XMLStreamHelperPerformanceTestCase.txt
          3 kB
          Kelvin Goodson
        5. simple3.xsd
          1 kB
          Yang ZHONG
        6. T-1091.log
          46 kB
          Kelvin Goodson
        7. XMLStreamHelper.xsd
          2 kB
          Yang ZHONG
        8. XMLStreamHelperPerformanceTestCase.java
          4 kB
          Yang ZHONG

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yang_zhong Yang ZHONG
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: