#3 use default value for attributes

open
nobody
None
5
2010-07-28
2010-07-28
No

If the XML schema specifies a default value for an attribute this default is included in a generated .hrl file. erlsom:scan/2 uses the default value when translating XML into an Erlang record structure.

Discussion

  • Thomas Geffert

    Thomas Geffert - 2010-07-28

    Add handling of attribute default value

     
  • Willem de Jong

    Willem de Jong - 2010-08-04

    Hi Thomas,

    Looks like a nice feature.

    I have moved the maintenance of this this project to github. Would it be possible for you to submit a patch using github? (note: even then it might take me a while to process it, because I am still a git novice).

    Regards,
    Willem

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks