Details
Description
Parsing XML documents in IzPack is currently incomplete. Even though the XML syntax is well-formatted, there are not recognized bad element or attribute names, thus using the IXmlElement is error-prone especially for typos. Parsing the installation descriptor (install.xml) and several XML resources could be migrated to a different approach.
Best choices might be:
There is a good comparison available for both: How Does JAXB Compare to XStream?
Activity
Rene Krell
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Issue Type | Task [ 3 ] | Wish [ 5 ] |
Rene Krell
made changes -
| Summary | Introduce JRE 6 JAXB for XML handling | Improve XML handling - JAXB, XStream |
| Description | Parsing XML documents in IzPack is currently incomplete. Even though the XML syntax is well-formatted, there are not recognized bad element or attribute names, thus using the IXmlElement is error-prone especially for typos. Parsing the installation descriptor (install.xml) and several XML resources could be migrated to JAXB (or some alternative, but JAXB is built-in into the JRE). |
Parsing XML documents in IzPack is currently incomplete. Even though the XML syntax is well-formatted, there are not recognized bad element or attribute names, thus using the IXmlElement is error-prone especially for typos. Parsing the installation descriptor (install.xml) and several XML resources could be migrated to a different approach.
Best choices might be: * [JAXB|http://jaxb.java.net/] Integrated to Java SE 6 and OpenJDK 6. * [XStream|http://http://xstream.codehaus.org/] Requires additional dependencies. |
Rene Krell
made changes -
| Description |
Parsing XML documents in IzPack is currently incomplete. Even though the XML syntax is well-formatted, there are not recognized bad element or attribute names, thus using the IXmlElement is error-prone especially for typos. Parsing the installation descriptor (install.xml) and several XML resources could be migrated to a different approach.
Best choices might be: * [JAXB|http://jaxb.java.net/] Integrated to Java SE 6 and OpenJDK 6. * [XStream|http://http://xstream.codehaus.org/] Requires additional dependencies. |
Parsing XML documents in IzPack is currently incomplete. Even though the XML syntax is well-formatted, there are not recognized bad element or attribute names, thus using the IXmlElement is error-prone especially for typos. Parsing the installation descriptor (install.xml) and several XML resources could be migrated to a different approach.
Best choices might be: * [JAXB|http://jaxb.java.net/] Integrated to Java SE 6 and OpenJDK 6. * [XStream|http://http://xstream.codehaus.org/] Requires additional dependencies. There is a good comparison available for both: [How Does JAXB Compare to XStream?|http://blog.bdoughan.com/2010/10/how-does-jaxb-compare-to-xstream.html] |
Rene Krell
made changes -
| Fix Version/s | 6.0 [ 18744 ] |
Rene Krell
made changes -
| Affects Version/s | 5.0 [ 15138 ] |