update
This commit is contained in:
@ -11,8 +11,8 @@ export abstract class UBLBaseDecoder extends BaseDecoder {
|
||||
protected namespaces: Record<string, string>;
|
||||
protected select: xpath.XPathSelect;
|
||||
|
||||
constructor(xml: string) {
|
||||
super(xml);
|
||||
constructor(xml: string, skipValidation: boolean = false) {
|
||||
super(xml, skipValidation);
|
||||
|
||||
// Parse XML document
|
||||
this.doc = new DOMParser().parseFromString(xml, 'application/xml');
|
||||
|
Reference in New Issue
Block a user