[erlang-bugs] xmerl - how to clean xsd_state rec

Aleksander Nycz Aleksander.Nycz@REDACTED
Tue Feb 3 10:16:50 CET 2015


Hello,

Function xmerl_xsd:process_schema returns {ok, State} where State is
the global state of the validator. It is representated by the 
#xsd_state{} record.
Record xsd_state contains field 'table' that is ets tid.

I must change Schema and call function  xmerl_xsd:process_schema once 
again to obtain new global state.

And I'm wondering how to clean old state (eg. delete old ets) ...

Regards
Aleksander Nycz

-- 
Aleksander Nycz
Telco_021 BSS R&D
Comarch SA
Phone:  +48 17 785 59 09
Mobile: +48 691 464 275
website: www.comarch.pl


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4916 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150203/556a9ef9/attachment.bin>


More information about the erlang-bugs mailing list