[xsd-users] cxx-parser with string restrictions
David Miller
david.miller at torstonetech.com
Thu Jun 8 13:37:18 EDT 2017
Thanks for quick response. Because input file is enormous, parser is a better approach. I think I'll just edit the 3rd party schema :-)
Sent from my iPad
> On Jun 8, 2017, at 1:28 PM, Boris Kolpackov <boris at codesynthesis.com> wrote:
>
> Hi David,
>
> David Miller <david.miller at torstonetechnology.com> writes:
>
>> <xs:simpleType name="StrRest">
>> <xs:restriction base="xs:string">
>> <xs:minLength value="20"/>
>> </xs:restriction>
>> </xs:simpleType>
>
> This is a new XML Schema type so you will have to map it to a C++ type,
> provide a parser implementation, etc. Dealing with restrictions in
> C++/Parser is painful so if you plan on having many of them, I would
> recommend C++/Tree.
>
> Boris
--
The contents (including attachments) of this email are strictly
confidential, intended for the addressee(s) only and may be legally
privileged. If you are not the intended recipient, please contact the
sender immediately and delete all copies of this email without distributing
it further in any way. Torstone Technology Limited, its affiliates and
staff do not accept any liability for the contents of the message, and the
sending of this message is not intended to form a contract with the
recipient. Torstone Technology Limited is registered in England and Wales
with company number 07490275 and registered office at 8 Lloyd's Avenue,
London EC3N 3EL, United Kingdom.
More information about the xsd-users
mailing list