xml-toolkit 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/XMLMarshaller.js +3 -1
- package/package.json +1 -1
- package/test/test.js +1 -1
package/lib/XMLMarshaller.js
CHANGED
|
@@ -196,7 +196,9 @@ const XMLMarshaller = class {
|
|
|
196
196
|
appendContent (node, data) {
|
|
197
197
|
|
|
198
198
|
const {localName, namespaceURI, attributes, children, targetNamespace} = node, {name, type, ref} = attributes
|
|
199
|
-
|
|
199
|
+
|
|
200
|
+
if (localName === 'attribute') return
|
|
201
|
+
|
|
200
202
|
if (ref) return this.appendContent (this.xs.getByReference (ref), data)
|
|
201
203
|
|
|
202
204
|
switch (localName) {
|
package/package.json
CHANGED
package/test/test.js
CHANGED
|
@@ -444,7 +444,7 @@ async function main () {
|
|
|
444
444
|
// await test_003_emitter_sync ('soap.xml')
|
|
445
445
|
// await test_004_schemata ()
|
|
446
446
|
// await test_005_schemata ()
|
|
447
|
-
await test_006_schemata ()
|
|
447
|
+
// await test_006_schemata ()
|
|
448
448
|
// await test_007_wsdl ()
|
|
449
449
|
await test_008_schemata ()
|
|
450
450
|
|