[xsd-users] cxx-parser with string restrictions
    Boris Kolpackov 
    boris at codesynthesis.com
       
    Thu Jun  8 13:28:59 EDT 2017
    
    
  
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
    
    
More information about the xsd-users
mailing list