[xsd-users] Output lowercase HexBinary

Miao Wang miaowang.tw at gmail.com
Fri Aug 26 08:58:12 EDT 2022


>
> Hello Boris,
>
> Thank you for the instructions.
>
> I finally got what I want, but not using the customizing method.
> Because I want to write lowercase alphabet for hexBinary, I simply modify
> line 440 at types.txx from uppercase to lowercase, i.e.,
>
> change
> const char tab[] = "0123456789ABCDEF";
> to
> const char tab[] = "0123456789abcdef";
>
> Then I got lowercase hexBinary in the output KML file.
>
> By the way,
> When I test the calendar example, only parameter [--custom-type date]
> works, i.e., change
>
> typedef ::xsd::cxx::tree::date< char, simple_type > date;
> to
> class data;
>
> but when I change the type "date" to other types such as "hex_binary" or
> "date_time", the output xml-schema.hxx does not change.
>
> BR,
>
> Miao
>


More information about the xsd-users mailing list