Skip to content

Commit

Permalink
Fix: Use removeNSPrefix in XML parser options
Browse files Browse the repository at this point in the history
The ignoreNameSpace option for fast-xml-parser has been renamed to
ignoreNameSpace.
This fixes some undefined attributes on SecInfo pages.
  • Loading branch information
timopollmeier authored and bjoernricks committed Apr 4, 2023
1 parent 3c01516 commit 396d1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gmp/http/transform/fastxml.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {success, rejection} from './xml';
const PARSER_OPTIONS = {
attributeNamePrefix: '_',
ignoreAttributes: false,
ignoreNameSpace: true,
removeNSPrefix: true,
textNodeName: '__text',
attributeValueProcessor: (name, value, jPath) => parseXmlEncodedString(value),
tagValueProcessor: (name, value, jPath, hasAttributes, isLeafNode) =>
Expand Down

0 comments on commit 396d1ab

Please sign in to comment.