willemdj / erlsom

XML parser for Erlang
GNU Lesser General Public License v3.0
266 stars 103 forks source link

Ambiguous documentation about CState and State in CFunction #61

Open Aetherus opened 7 years ago

Aetherus commented 7 years ago

In the sax mode documentation,

Option = {continuation_function, CState, CFunction} | ...

there is no documentation about the CState. Can it be anything?

Also, in the documentation of CFunction,

CFunction should be a function that takes 2 arguments: Tail and State.

Is the State the same thing as CState?

odix67 commented 4 years ago

you may take a look in the continuation example source, nevertheless, the continuation option should set to

Option = {continuation_function, CFunction, CState} | ...

simple documentation bug