[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Transform XSD complexType into regular expressions
- From: Roger L Costello <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Thu, 12 May 2022 10:29:36 +0000
Michael Kay wrote:
---------------------------------------
I've considered the approach of validating complex types by turning them into regular expressions against a string and using a regex engine. The main reason I decided against it is that regex engines produce no useful diagnostics; they just tell you the string doesn't match. Perhaps the answer to that would be to write a regex engine with better diagnostics - I can see that being useful!
---------------------------------------
Oh, that sounds wicked cool. Michael, would you describe at a high level how one would go about converting a complexType into regular expressions, please? Would one complexType be transformed into one regular expression or into multiple regular expressions?
/Roger
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]