From 0fde8dc6cb353b8fcb6fcdf138bfde4f0d359e8c Mon Sep 17 00:00:00 2001 From: dporfiryev Date: Wed, 16 Jul 2025 11:42:49 +0300 Subject: [PATCH] appendAttributes +restriction inheritance --- lib/XMLMarshaller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/XMLMarshaller.js b/lib/XMLMarshaller.js index 5486f84..80d572c 100644 --- a/lib/XMLMarshaller.js +++ b/lib/XMLMarshaller.js @@ -145,7 +145,8 @@ const XMLMarshaller = class { this.xs.getAttributeSimpleType (node).stringify (v) ) - case 'extension': + case 'extension': + case 'restriction': this.appendAttributes (this.xs.getType (attributes.base), data) default: