If anyone is out there listening….
I just got an extensive xml schema that I used xmlbeans to create a jar with. The large number of files confuses me, but that isn't the basis of my email.
First,
I have two sections of my schema that are groups and not the complex/simple types. How do I access them?? All I see are the xsb files that are of the same name as the group, but no class files.
Second,
I try to parse the xml doc w/ a portion that I thought worked, but when I run it, I get a null pointer exception.
This is the code:
PlanningContextHeaderType planContext = PlanningContextHeaderType.Factory.parse(inputFile);
PlanningContextHeaderType.OPLAN oplan = planContext.getOPLAN();
System.out.println(oplan.getName());
And here is the abbreviated xml:
<?xml version="1.0" encoding="UTF-8"?>
<MDADocument>
<defenseDesignDocument>
<OPLAN>
<planId>9151314447111817754</planId>
<name>Venezuela</name>
</OPLAN>
</defenseDesignDocument>
</MDADocument>
I'll keep it at that for right now, but I have a couple more questions but I won't bother to write it until I hear back that people actually exist in this mailing list.
Thanks,
Jason Green