Element type = null should be process the same as element type = ELEMENT_TYPE_PROPERTIES.
This commit is contained in:
parent
25204acf0d
commit
7623372601
|
@ -180,7 +180,7 @@ public class PackInHandler extends DefaultHandler {
|
|||
{
|
||||
packageVersion = atts.getValue("Version");
|
||||
}
|
||||
|
||||
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try {
|
||||
|
@ -249,13 +249,13 @@ public class PackInHandler extends DefaultHandler {
|
|||
{
|
||||
e.parent = stack.peek();
|
||||
String reference = atts.getValue("type");
|
||||
if (!IHandlerRegistry.ELEMENT_TYPE_PROPERTIES.equals(reference))
|
||||
if (reference == null || reference.equals(IHandlerRegistry.ELEMENT_TYPE_PROPERTIES))
|
||||
{
|
||||
e.parent.childrens.add(e);
|
||||
e.parent.properties.put(qName, e);
|
||||
}
|
||||
else
|
||||
{
|
||||
e.parent.properties.put(qName, e);
|
||||
e.parent.childrens.add(e);
|
||||
}
|
||||
}
|
||||
stack.push(e);
|
||||
|
|
Loading…
Reference in New Issue