Re: [xml-dev] Validation of complex content

From
John Cowan <>
To
Edwin Dankert <>
Date
2012-03-30T15:22:56Z
ID
<>
Thread
Re: [xml-dev] Validation of complex content
Edwin Dankert scripsit:

> The expression language is quite complex and cannot be represented by
> a regular-expression. The syntax is however specified using EBNF and
> only the syntax needs to be validated.

Then it is certainly beyond the power of any standard XML tool.  You will
have to translate the EBNF into an ANTLR or Packrat grammar, or something
similar depending on what language you are using.  This should be a
straightforward effort.

-- 
John Cowan                              
            http://www.ccil.org/~cowan
Humpty Dump Dublin squeaks through his norse
                Humpty Dump Dublin hath a horrible vorse
But for all his kinks English / And his irismanx brogues
                Humpty Dump Dublin's grandada of all rogues.  --Cousin James