-1

Anyone knows why XML name space is populating as http://www.w3.org/X001/XMLSchema-instance in mapped request instead of http://www.w3.org/2001/XMLSchema-instance

The mapped request has XML defined objects and all have schema namespace http://www.w3.org/2001/XMLSchema.

Edwardo Afundoh
  • 626
  • 2
  • 7
  • 19
  • Generating/populating from what? Your question cannot be answered at the XML level alone. – kjhughes Feb 15 '22 at 15:04
  • @kjhughes thanks for your input. It's a spring boot application that accepts application/json, uses the json field values to map to application/xml object to make a downstream call using RestTemplate – Edwardo Afundoh Feb 15 '22 at 15:19
  • Post a [mcve] and update tagging to reflect libraries/tools in play. – kjhughes Feb 15 '22 at 15:20
  • Without knowing exactly what you're doing we have no way of knowing why the output of whatever you're doing is wrong. – Michael Kay Feb 15 '22 at 19:25

1 Answers1

0

Cause: the X in X001 was caused by custom masking. After turning off masking flag, I was able to see correct logging of namespace a http://www.w3.org/2001/XMLSchema

Edwardo Afundoh
  • 626
  • 2
  • 7
  • 19