Ticket #57 (new defect)
Opened 2 years ago
ENPresenter dumps the flavor code as text for null name parts.
| Reported by: | gschadow | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | builder |
| Version: | Keywords: | ||
| Cc: | Priority (1.00-5.00): | ||
| Parent Ticket#: | Complexity (1-5): | ||
| Estimated hours: | Hours spent so far: | ||
| % Completed: |
Description
If I use this code to create a name:
list = new ArrayList();
list.add(vf.PNXPvalueOf("Hobo", EntityNamePartType.Given, null));
list.add(vf.PNXPvalueOf(null, EntityNamePartType.Given, null));
list.add(vf.PNXPvalueOf("Jobo", EntityNamePartType.Family, null));
list.add(vf.PNXPvalueOf(null, EntityNamePartType.Prefix, null));
list.add(vf.PNXPvalueOf(null, EntityNamePartType.Suffix, null));
pn = vf.PNvalueOf(list, null, null);
The output looks like this:
<name xsi:type="PN"> <given>Hobo</given>NI<family>Jobo</family>NINI </name>
Shouldn't it have things like: <prefix nullFlavor="NI"/> instead of just NI?
Yes it should. This must be a defect in the ENPresenter.
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/javasig/chrome/site/logo100.png)