[erlang-bugs] xmerl gnats

Bertil Karlsson <>
Mon Feb 18 08:19:10 CET 2008


Hi,

thank you for pointing this out. We will take car of those faults as 
soon as possible.

/Bertil

Vance Shipley wrote:
> xmerl works wonderfully for me however after working with it
> for a while I have found some small issues:
>
> 	- xmerl_scan:file/2 with {validation,schema}
> 	  I can't get this to work, it does nothing to validate.
> 	  It doesn't read the Schema at all.
>
> 	- xmerl_xsd:process_schema/2 with {xsdbase, Dirname}
> 	  Fails with enoent.
>
> 	- validation of type `anyURI' rejects network access identifiers
> 	  (NAI):   {error, [{value_not_anyURI, ""}]}
> 	  As far as I can tell an NAI is a valid anyURI, at least the 
> 	  3GPP think so (3GPP TS 29.228; CxDataType.xsd)
>
> 	- xmerl_xsd.html says global_state() is represented by
> 	  #xmerl_xsd{} however it is actually #xsd_state{}
>
> 	- xmerl_xsd.html refers to format_error/0 however it should
> 	  be format_error/1 
>
> 	- xmerl_xsd.html process_schema/1 and process_schema/2:
> 	  "Reads the referenced XML schema and controls it is valid."
> 	                                       ^^^^^^^^?
>
> 	-Vance
> _______________________________________________
> erlang-bugs mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-bugs
>
>   




More information about the erlang-bugs mailing list