-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
I tried to marshal back an unmarshaled xml document without any success.
https://github.com/pgiraud/ogc-schemas/blob/owscontext_marshal/scripts/tests/OWC/0.3.1/OWC_0_3_1.js#L25-L28
I get the following error:
Error: Argument [undefined] must be an object.
at Object.Jsonix.Util.Ensure.ensureObject (/home/pierre/public_html/ogc-schemas/scripts/node_modules/jsonix/jsonix.js:678:10)
at Object.Jsonix.Context.Marshaller.Jsonix.Class.marshalElementNode (/home/pierre/public_html/ogc-schemas/scripts/node_modules/jsonix/jsonix.js:5081:22)
at Object.Jsonix.Context.Marshaller.Jsonix.Class.marshalDocument (/home/pierre/public_html/ogc-schemas/scripts/node_modules/jsonix/jsonix.js:5071:8)
at Object.Jsonix.Context.Marshaller.Jsonix.Class.marshalString (/home/pierre/public_html/ogc-schemas/scripts/node_modules/jsonix/jsonix.js:5060:18)
at /home/pierre/public_html/ogc-schemas/scripts/tests/OWC/0.3.1/OWC_0_3_1.js:26:15
at /home/pierre/public_html/ogc-schemas/scripts/node_modules/jsonix/jsonix.js:5145:5
at fs.js:271:14
at Object.oncomplete (fs.js:107:15)
I haven't figured out when the error appears exactly. Using a similar code in the browser and iterating through breakpoints didn't help me. ensureObject is called several times.
Any help would be appreciated.
Metadata
Metadata
Assignees
Labels
No labels