This repository was archived by the owner on Aug 26, 2020. It is now read-only.

Description
Hi - I'm creating a demo using ES on standards documents with a schema called STS. I've got the description up and working, can generate envelop documents, but when I go to validate and install the TDE I get this error:
[javascript] TDE-INVALIDTEMPLATE: (err:FOER0000) tde.templateInsert( -- Invalid TDE template: XDMP-NOTSIMPLE: Node does not have simple content: fn:doc("/source/models/sts-templ.xml")/tde:template/tde:templates/tde:template[2]/tde:templates/tde:template/tde:rows/tde:row/tde:columns/tde:column[2]/tde:scalar-type
I'm attaching my model and the generated template (as a .zip)
There is one array in the definition that defined entity for normative references attached to each standard.
The TDE seems to be stopping on line 132 where there is an empty scalar type. Not sure what should be there to accomplish the definition of the normative refs.
I created all this with EA4 (9.020170113) but just ran it all again with 9.0-20170418. I'm running Mac OS.
Thanks in advance,
Matt
sts-demo.zip