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

Mike Ziebeck mike@REDACTED
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,
                        [{exception,
                             {error,
                                 {"2 - Unexpected event, expected end-tag"}}},
                         {stack,[schemaType]},
                         {received,
                             {startElement,
                                 "http://www.w3.org/2001/XMLSchema",
                                 "notation","xs",
                                 [{attribute,"system",[],[],
                                      "http://www.w3.org/2000/08/XMLSchema.xsd"},
                                  {attribute,"public",[],[],"structures"},
                                  {attribute,"name",[],[],
                                      "XMLSchemaStructures"}]}}]}
     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