Upgrade xerces to latest to resolve resin XML parsing problem

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.9
    • Affects Version/s: 2.7, 2.7.1, 2.7.2, 2.7.3, 2.8
    • Component/s: None
    • None

      One of the build failures we occassionally see is on resin and gives strange and seemingly irrelevant XML parsing errors, typically from parsing the hibernate configs. A typical error is -

      org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
      

      It turns out this is due to the way Xerces is parsing XML resource being read via the resin classloader. Roughly, the XML resource is being supplied in chunks and Xerces seems to think it can sensibly parse incomplete chunks.

      Without a greater understanding of the exact problem, it would seem that potentially any changes to XML files within the confluence.jar could cause seemingly random XML parse errors in Resin.

      A quick test with xerces 2.9.0 showed that this problem no longer occurs, so we should make sure the rest of the system is happy with this change and upgrade as soon as possible.

              Assignee:
              Unassigned
              Reporter:
              Paul Curren
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified