[erlang-questions] \bclarify: Exception on erlsom:write_xsd_hrl_file for XMLSchema

Mike Ziebeck <>
Wed May 20 13:51:47 CEST 2009

I thought the schema w3.org/2001/XMLSchema.xsd
is rather significant regarding XML. So I was
a bit surprised seeing erlsom:write_xsd_hrl_file
throwing an Exception. See the attached file for
reproduction code.

Is there any work in progress fixing this issue?

Error Message:
** exception throw: {error,
                                 {"2 - Unexpected event, expected end-tag"}}},
     in function  erlsom_writeHrl:writeXsdHrlFile/2
     in call from erlsom:write_xsd_hrl_file/3

System: Erlang R13B (erts-5.7.1) [smp:2:2] [rq:2] [async-threads:0] [WinXP64]


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: erlsomtest.erl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090520/c924c8b1/attachment.ksh>

More information about the erlang-questions mailing list