Skip to content

Commit

Permalink
remove addition of unwanted namespaces to the xml document.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aravinda Baliga B committed May 27, 2024
1 parent 644ab6b commit 37a6c21
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,6 @@ public void start(Map<String, String> context) {
? events.createNamespace(EPCIS.EPCIS, EPCIS.EPCIS_2_0_XMLNS)
: events.createNamespace(EPCIS.EPCIS_QUERY, EPCIS.EPCIS_QUERY_2_0_XMLNS));
xmlEventWriter.add(events.createNamespace(EPCIS.XSI, EPCIS.XML_SCHEMA_INSTANCE));
xmlEventWriter.add(events.createNamespace(EPCIS.CBV_MDA, EPCIS.CBV_MDA_URN));
xmlEventWriter.add(
events.createNamespace(
EPCIS.STANDARD_BUSINESS_DOCUMENT_HEADER_PREFIX,
EPCIS.STANDARD_BUSINESS_DOCUMENT_HEADER));

// Add the values from JSON Context header stored in MAP to XML header
for (Map.Entry<String, String> stringStringEntry : context.entrySet()) {
Expand Down

0 comments on commit 37a6c21

Please sign in to comment.