[erlang-bugs] [erlang-questions] Edoc error

Serge Aleynikov saleyn@REDACTED
Sun Aug 17 02:34:26 CEST 2008


Thanks!  Apparently I missed the statement on escaping in 1.11.5 chapter 
of edoc. :-(

Sorry for noise.

Dale Harvey wrote:
> 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
>>
> 




More information about the erlang-bugs mailing list