You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/03/18 09:22:27 UTC

[jira] Created: (FELIX-2211) Simplify the repository parser based on KXml2

Simplify the repository parser based on KXml2
---------------------------------------------

                 Key: FELIX-2211
                 URL: https://issues.apache.org/jira/browse/FELIX-2211
             Project: Felix
          Issue Type: Task
          Components: Bundle Repository (OBR)
            Reporter: Guillaume Nodet
            Assignee: Guillaume Nodet
             Fix For: bundlerepository-1.6.0


Using SAX on top of a pull parser is just way too complicated.  It also leads to using reflection and some spurious method calls.  
Refactoring to be similar to the new StaxParser will be much easier to maintain and will allow a greater decoupling between the data model and the parser (where the setters do not have to be named the same as the xml element names).

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


[jira] Resolved: (FELIX-2211) Simplify the repository parser based on KXml2

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-2211.
------------------------------------

    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	C	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/StaxParser.java => bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/PullParser.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/ClassUtility.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/KXml2MetadataHandler.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/MappingProcessingInstructionHandler.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/MetadataHandler.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/ReplaceUtility.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/XmlCommonHandler.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/XmlMetadataHandler.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/kxmlsax/KXml2SAXHandler.java
	D	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/metadataparser/kxmlsax/KXml2SAXParser.java
	M	bundlerepository/pom.xml
	M	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/RepositoryImpl.java
	M	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/StaxParser.java
	M	bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/StaxParserTest.java
Committed r924667


> Simplify the repository parser based on KXml2
> ---------------------------------------------
>
>                 Key: FELIX-2211
>                 URL: https://issues.apache.org/jira/browse/FELIX-2211
>             Project: Felix
>          Issue Type: Task
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>
> Using SAX on top of a pull parser is just way too complicated.  It also leads to using reflection and some spurious method calls.  
> Refactoring to be similar to the new StaxParser will be much easier to maintain and will allow a greater decoupling between the data model and the parser (where the setters do not have to be named the same as the xml element names).

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


[jira] Closed: (FELIX-2211) Simplify the repository parser based on KXml2

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-2211.
-----------------------------------


> Simplify the repository parser based on KXml2
> ---------------------------------------------
>
>                 Key: FELIX-2211
>                 URL: https://issues.apache.org/jira/browse/FELIX-2211
>             Project: Felix
>          Issue Type: Task
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>
> Using SAX on top of a pull parser is just way too complicated.  It also leads to using reflection and some spurious method calls.  
> Refactoring to be similar to the new StaxParser will be much easier to maintain and will allow a greater decoupling between the data model and the parser (where the setters do not have to be named the same as the xml element names).

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