0 Replies Latest reply on Oct 19, 2009 5:02 PM by Peter Farland

    [svn:fx-trunk] 11018: Checking in the source files for /lib/xercesPatch. jar made originally by rsun to patch Apache Xerces 2.4. 0 to retain attribute line numbers.

    Peter Farland Level 3

      Revision: 11018

      Author:   pfarland@adobe.com

      Date:     2009-10-19 17:02:40 -0700 (Mon, 19 Oct 2009)

       

      Log Message:

      ***********

      Checking in the source files for /lib/xercesPatch.jar made originally by rsun to patch Apache Xerces 2.4.0 to retain attribute line numbers.

       

      From Rebecca's original notes:

      "fix for 76207 - can't set breakpoints on event handlers that occupy different lines in the mxml file.

            

      this fix involves changing the implementation of the xerces parser that we are using. the code that needed to be changed in order to extract per-attribute line number information is very far deep in the pipeline, so we've had to change quite a few of the xerces classes.

            

      the new xercesPatch.jar is based on the Xerces 2.4.0 distribution, as are the existing xercesImpl.jar and xmlParserAPI.jar files in /lib. it contains only the files we've modified for the patch, not the xerces classes themselves. the entry point is contained in the javax.xml.parsers.SAXParserFactory file, where we point to our own implementation of the parser rather than the xerces one."

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-16818 - Open-source the code for xercesPatch.jar.

      Reviewer: Frances, Matt

      Tests run: Checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-16818

       

      Added Paths:

      ***********

          flex/sdk/trunk/modules/thirdparty/xerces-patch/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/build.xml

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/META-INF/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/META-INF/services/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/META-INF/services/javax.xml.parse rs.SAXParserFactory

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/META-INF/services/org.apache.xerc es.xni.parser.XMLParserConfiguration

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/impl/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/impl/XMLDocumen tFragmentScannerMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/impl/XMLDocumen tScannerMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/impl/XMLNSDocum entScannerMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/jaxp/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/jaxp/SAXParserF actoryMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/jaxp/SAXParserM MImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/jaxp/javax.xml. parsers.SAXParserFactory

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/parsers/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/parsers/Abstrac tSAXParserMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/parsers/Integra tedParserConfigurationMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/parsers/SAXPars erMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/parsers/XML11Co nfigurationMMImpl.java

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/util/

          flex/sdk/trunk/modules/thirdparty/xerces-patch/src/java/org/apache/xerces/util/XMLAttribu tesMMImpl.java