Missing element before end-tag
arcusfelis opened this issue · 4 comments
I have an problem with erlsom:scan(BinXml, Model):
** exception error: no match of right hand side value {error,[{exception,{error,"Missing element before end-tag: collation"}},
{stack,[collation,'collations/SEQ1',collations,'ldml/SEQ1',
ldml]},
{received,{endElement,[],"collation",[]}}]}
minOccurs, maxOccurs have wrong values in a model.
minOccurs, maxOccurs are "0" and "undefined" in xsd, but they are "1" and "1" in a model.
XML:
https://gist.github.com/1171290
I'll have a look (but probably not in the next few days).
It would be helpfull to have a complete (self contained, preferably minimal...) XSD that triggers this error. Could you provide something like that? You can send it to me directly if you prefer (you can find my email address in the source code).
This xsd was converted from dtd throw trang.
It's size is 200Kb, so I try to shrink it.
I collected minimal test data.
Bad xsd:
https://gist.github.com/1172890
Good xsd:
https://gist.github.com/1172893
Ok, thanks.
On Fri, Aug 26, 2011 at 9:23 AM, freeakk <
reply@reply.github.com>wrote:
I collected minimal test data.
Bad xsd:
https://gist.github.com/1172890Good xsd:
https://gist.github.com/1172893xml:
https://gist.github.com/1172894error:
https://gist.github.com/1172897Reply to this email directly or view it on GitHub:
#4 (comment)