Skip to content

Commit

Permalink
sepinf-inc#2286: replace "ID" by "Identifier" to avoid conflict with …
Browse files Browse the repository at this point in the history
…"ufed:id" attribute
  • Loading branch information
aberenguel committed Aug 18, 2024
1 parent 21256e1 commit 521152a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,10 @@ else if (nameAttr.equals("AccessTime")) //$NON-NLS-1$
if (parentNode.element.equals("field") || parentNode.element.equals("multiField")) { //$NON-NLS-1$ //$NON-NLS-2$
String parentNameAttr = parentNode.atts.get("name"); //$NON-NLS-1$
if (!ignoreNameAttrs.contains(parentNameAttr)) {
// replace "ID" by "Identifier" to avoid conflict with "ufed:id" attribute
if ("ID".equals(parentNameAttr)) {
parentNameAttr = "Identifier";
}
String meta = ExtraProperties.UFED_META_PREFIX + parentNameAttr;
String type = currentNode.atts.get("type"); //$NON-NLS-1$
String value = chars.toString().trim();
Expand Down

0 comments on commit 521152a

Please sign in to comment.