Integrate SAX and StAX into one Core Timeline

Mirae http://ws.apache.org/mirae provides implementations of SAX that is defined to JSR 172 and StAX that is defined to JSR 280 respectively. This project will be an initial step to implement JSR 280, which enables mobile developers to use an updated SAX and a newly added StAX from JSR 172.


12'th June
17'th June
21'st June
22'nd - 24'th June
26'th June
27 - 29'th June


3'rd July
 4'th July
  1. Problem of \[SAXParserFactory\] 's set/getFeature()


2. Unmatched problem of SAX's Locator and Location




 5'th July
 test document (test1.xml)
 ------------------------------------
<?xml version="1.0" encoding="utf-8"?> 
<root></root>
 


---- ----

 6'th July
 test document (test2.xml)
 ------------------------------------
<?xml version="1.0" encoding="utf-8" ?> 
<root><a>1111</a></root>
 


 test document (test3.xml)
 ------------------------------------
<?xml version="1.0" encoding="utf-8" ?> 
<root>root<a>a</a><b>b</b></root>
 


 10'th July
 test document (test4.xml)
 ------------------------------------
<?xml version="1.0" encoding="utf-8" ?> 
<document>
   <title>The Publishers </title>
   <publisher>        
       Alfred Publishing
      15535 Morrison
      South Oaks CA 91403
   </publisher>
   <book price="$100" author = "Herold" number = "no_11">eXtensible Markup Language</book>
   <bookurn xmlns='urn:loc.gov:books' xmlns:isbn='urn:ISBN:0-395-36341-6'/> 
   <pb/>
   <pages />
</document>
 


2. Other handler method


3. set/getFeature()



  12'nd July
  18 - 19'nd July
  1. Current SAX API adds following interface

ContentHandler, EntityResolver, DTDHandler, and ErrorHandler interfaces.

3. I created XMLFilterImpl class.



  24 - 25'th July
  1. I implemented XMLReader in StAX-based SAX parser class.
    2. I designed simple DTD parser for SAX.
  Final
  1. Changes NonValidationParser class to stax-based StAXCoreParser class.


2. EntityResolver class is overlapped with SAX2's EntityResolver interface.