[erlang-questions] Edoc error

Dale Harvey harveyd@REDACTED
Sat Aug 16 23:22:46 CEST 2008


if its looking for valid xml, try using & ?

2008/8/16 Serge Aleynikov <saleyn@REDACTED>

> There seems to be an error in edoc trying to parse URLs with query
> string arguments:
>
> ----------------
> $ cat overview.edoc
>
> Test Project
>
> @doc Test.
>
> <a href='/docs/?class=ColumnModel&member=configs'>ColumnModel
> configuration</a>
> ----------------
>
> Error being generated:
>
> 3748- fatal: expected_entity_reference_semicolon
> 2628- fatal: error_scanning_entity_ref
> overview.edoc: at line 8: error in XML parser: {fatal,
>                          {error_scanning_entity_ref,
>                              {file,file_name_unknown},
>                              {line,51},
>                              {col,88}}}.
> edoc: error in doclet 'edoc_doclet': {'EXIT',error}.
>
>
>
> Apparently it doesn't like the ampersand in the URL.  Changing the link
> to '/docs/?class=ColumnModel' works with no issues.
>
> Serge
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080816/b01b4184/attachment.htm>


More information about the erlang-questions mailing list