You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Wei Duan (JIRA)" <xe...@xml.apache.org> on 2007/06/03 08:50:15 UTC

[jira] Created: (XERCESJ-1253) Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"

Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"
-----------------------------------------------------------------------------------------

                 Key: XERCESJ-1253
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1253
             Project: Xerces2-J
          Issue Type: New Feature
          Components: StAX
            Reporter: Wei Duan


This code zip is prototype for SoC 2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J". The code description is as follows.

Work underway in Xerces on an implementation of JAXP 1.4. The largest technical change in this new edition of JAXP is the addition of StAX (JSR-173) which introduces XML pull parsing APIs to the Java platform. In constrast to push parsing APIs like SAX, StAX gives control back to the application at each step in the parsing process. The goal of this project is to design and implement the cursor-based XMLStreamReader (and filtering support). It should be possible to accomplish this using XNI by building the  XMLStreamReader on top of an XMLPullParserConfiguration.

The prototype validates the technical mechanism which builds stax parser based on XNI and implements intital XNI-based XMLStreamReader. The work done in the prototype also includes:
   * Use XMLPullConfiguration to simulate stax parsing process.
   * Implement element, attribute, text, namespacecontext, location methods.   

The ongoing work includes:
   * Support filter function.
   * Implement DTD, entity referrence, namespace, etc.
   * Solve the problme that XNI parsing steps do not exactly match the StAX steps. E.g., XNI will treat startDocument xmlDecl as two events, but StAX will treat as one  integrated startDocument event.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1253) Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"

Posted by "Wei Duan (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei Duan updated XERCESJ-1253:
------------------------------

    Attachment: StAX_06_03_07.zip

> Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"
> -----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1253
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1253
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: StAX
>            Reporter: Wei Duan
>         Attachments: StAX_06_03_07.zip
>
>
> This code zip is prototype for SoC 2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J". The code description is as follows.
> Work underway in Xerces on an implementation of JAXP 1.4. The largest technical change in this new edition of JAXP is the addition of StAX (JSR-173) which introduces XML pull parsing APIs to the Java platform. In constrast to push parsing APIs like SAX, StAX gives control back to the application at each step in the parsing process. The goal of this project is to design and implement the cursor-based XMLStreamReader (and filtering support). It should be possible to accomplish this using XNI by building the  XMLStreamReader on top of an XMLPullParserConfiguration.
> The prototype validates the technical mechanism which builds stax parser based on XNI and implements intital XNI-based XMLStreamReader. The work done in the prototype also includes:
>    * Use XMLPullConfiguration to simulate stax parsing process.
>    * Implement element, attribute, text, namespacecontext, location methods.   
> The ongoing work includes:
>    * Support filter function.
>    * Implement DTD, entity referrence, namespace, etc.
>    * Solve the problme that XNI parsing steps do not exactly match the StAX steps. E.g., XNI will treat startDocument xmlDecl as two events, but StAX will treat as one  integrated startDocument event.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1253) Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich updated XERCESJ-1253:
------------------------------------------

    Affects Version/s: 2.9.0

> Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"
> -----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1253
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1253
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: StAX
>    Affects Versions: 2.9.0
>            Reporter: Wei Duan
>            Assignee: Michael Glavassevich
>         Attachments: StAX_06_03_07.zip
>
>
> This code zip is prototype for SoC 2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J". The code description is as follows.
> Work underway in Xerces on an implementation of JAXP 1.4. The largest technical change in this new edition of JAXP is the addition of StAX (JSR-173) which introduces XML pull parsing APIs to the Java platform. In constrast to push parsing APIs like SAX, StAX gives control back to the application at each step in the parsing process. The goal of this project is to design and implement the cursor-based XMLStreamReader (and filtering support). It should be possible to accomplish this using XNI by building the  XMLStreamReader on top of an XMLPullParserConfiguration.
> The prototype validates the technical mechanism which builds stax parser based on XNI and implements intital XNI-based XMLStreamReader. The work done in the prototype also includes:
>    * Use XMLPullConfiguration to simulate stax parsing process.
>    * Implement element, attribute, text, namespacecontext, location methods.   
> The ongoing work includes:
>    * Support filter function.
>    * Implement DTD, entity referrence, namespace, etc.
>    * Solve the problme that XNI parsing steps do not exactly match the StAX steps. E.g., XNI will treat startDocument xmlDecl as two events, but StAX will treat as one  integrated startDocument event.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1253) Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"

Posted by "Wei Duan (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei Duan updated XERCESJ-1253:
------------------------------

    Attachment:     (was: StAX_06_03_07.zip)

> Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"
> -----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1253
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1253
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: StAX
>            Reporter: Wei Duan
>
> This code zip is prototype for SoC 2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J". The code description is as follows.
> Work underway in Xerces on an implementation of JAXP 1.4. The largest technical change in this new edition of JAXP is the addition of StAX (JSR-173) which introduces XML pull parsing APIs to the Java platform. In constrast to push parsing APIs like SAX, StAX gives control back to the application at each step in the parsing process. The goal of this project is to design and implement the cursor-based XMLStreamReader (and filtering support). It should be possible to accomplish this using XNI by building the  XMLStreamReader on top of an XMLPullParserConfiguration.
> The prototype validates the technical mechanism which builds stax parser based on XNI and implements intital XNI-based XMLStreamReader. The work done in the prototype also includes:
>    * Use XMLPullConfiguration to simulate stax parsing process.
>    * Implement element, attribute, text, namespacecontext, location methods.   
> The ongoing work includes:
>    * Support filter function.
>    * Implement DTD, entity referrence, namespace, etc.
>    * Solve the problme that XNI parsing steps do not exactly match the StAX steps. E.g., XNI will treat startDocument xmlDecl as two events, but StAX will treat as one  integrated startDocument event.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1253) Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"

Posted by "Wei Duan (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei Duan updated XERCESJ-1253:
------------------------------

    Attachment: StAX_06_03_07.zip

> Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"
> -----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1253
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1253
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: StAX
>            Reporter: Wei Duan
>         Attachments: StAX_06_03_07.zip
>
>
> This code zip is prototype for SoC 2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J". The code description is as follows.
> Work underway in Xerces on an implementation of JAXP 1.4. The largest technical change in this new edition of JAXP is the addition of StAX (JSR-173) which introduces XML pull parsing APIs to the Java platform. In constrast to push parsing APIs like SAX, StAX gives control back to the application at each step in the parsing process. The goal of this project is to design and implement the cursor-based XMLStreamReader (and filtering support). It should be possible to accomplish this using XNI by building the  XMLStreamReader on top of an XMLPullParserConfiguration.
> The prototype validates the technical mechanism which builds stax parser based on XNI and implements intital XNI-based XMLStreamReader. The work done in the prototype also includes:
>    * Use XMLPullConfiguration to simulate stax parsing process.
>    * Implement element, attribute, text, namespacecontext, location methods.   
> The ongoing work includes:
>    * Support filter function.
>    * Implement DTD, entity referrence, namespace, etc.
>    * Solve the problme that XNI parsing steps do not exactly match the StAX steps. E.g., XNI will treat startDocument xmlDecl as two events, but StAX will treat as one  integrated startDocument event.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Assigned: (XERCESJ-1253) Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich reassigned XERCESJ-1253:
---------------------------------------------

    Assignee: Michael Glavassevich

> Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"
> -----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1253
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1253
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: StAX
>            Reporter: Wei Duan
>            Assignee: Michael Glavassevich
>         Attachments: StAX_06_03_07.zip
>
>
> This code zip is prototype for SoC 2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J". The code description is as follows.
> Work underway in Xerces on an implementation of JAXP 1.4. The largest technical change in this new edition of JAXP is the addition of StAX (JSR-173) which introduces XML pull parsing APIs to the Java platform. In constrast to push parsing APIs like SAX, StAX gives control back to the application at each step in the parsing process. The goal of this project is to design and implement the cursor-based XMLStreamReader (and filtering support). It should be possible to accomplish this using XNI by building the  XMLStreamReader on top of an XMLPullParserConfiguration.
> The prototype validates the technical mechanism which builds stax parser based on XNI and implements intital XNI-based XMLStreamReader. The work done in the prototype also includes:
>    * Use XMLPullConfiguration to simulate stax parsing process.
>    * Implement element, attribute, text, namespacecontext, location methods.   
> The ongoing work includes:
>    * Support filter function.
>    * Implement DTD, entity referrence, namespace, etc.
>    * Solve the problme that XNI parsing steps do not exactly match the StAX steps. E.g., XNI will treat startDocument xmlDecl as two events, but StAX will treat as one  integrated startDocument event.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Resolved: (XERCESJ-1253) Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich resolved XERCESJ-1253.
-------------------------------------------

    Resolution: Fixed

Thanks very much Wei.  I've merged your initial prototype into the StAX development branch: http://svn.apache.org/viewvc/xerces/java/branches/stax-dev.  I moved the new classes you wrote into the main org.apache.xerces.stax package since I didn't think there needed to be a "prototype" package.  The entire stax-dev branch is essentially a development / prototyping sandbox already.

> Prototype for SoC2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J"
> -----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1253
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1253
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: StAX
>    Affects Versions: 2.9.0
>            Reporter: Wei Duan
>            Assignee: Michael Glavassevich
>         Attachments: StAX_06_03_07.zip
>
>
> This code zip is prototype for SoC 2007 project "Add support for the StAX (JSR-173) cursor API to Xerces-J". The code description is as follows.
> Work underway in Xerces on an implementation of JAXP 1.4. The largest technical change in this new edition of JAXP is the addition of StAX (JSR-173) which introduces XML pull parsing APIs to the Java platform. In constrast to push parsing APIs like SAX, StAX gives control back to the application at each step in the parsing process. The goal of this project is to design and implement the cursor-based XMLStreamReader (and filtering support). It should be possible to accomplish this using XNI by building the  XMLStreamReader on top of an XMLPullParserConfiguration.
> The prototype validates the technical mechanism which builds stax parser based on XNI and implements intital XNI-based XMLStreamReader. The work done in the prototype also includes:
>    * Use XMLPullConfiguration to simulate stax parsing process.
>    * Implement element, attribute, text, namespacecontext, location methods.   
> The ongoing work includes:
>    * Support filter function.
>    * Implement DTD, entity referrence, namespace, etc.
>    * Solve the problme that XNI parsing steps do not exactly match the StAX steps. E.g., XNI will treat startDocument xmlDecl as two events, but StAX will treat as one  integrated startDocument event.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org