Skip to content

Commit 0fde8dc

Browse files
author
dporfiryev
committed
appendAttributes +restriction inheritance
1 parent 8210260 commit 0fde8dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/XMLMarshaller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ const XMLMarshaller = class {
145145
this.xs.getAttributeSimpleType (node).stringify (v)
146146
)
147147

148-
case 'extension':
148+
case 'extension':
149+
case 'restriction':
149150
this.appendAttributes (this.xs.getType (attributes.base), data)
150151

151152
default:

0 commit comments

Comments
 (0)