Hello Roman,
thanks for the links, but it seems that his approach is dedicated to single files as single check.
I want a more flexible way to implement X tests.
My idea would be to have a XMLWalker extends AbstractFileCheck, which takes all files with xml extension parse them and "walk" them.
I had a look into the javadoc implementation, but it seems that it builds it own system.
To tell you, what I have done so far:
- Created my own XMLWalker extends AbstractFileCheck, which creates the DetailNode tree and walk it
- XMLTokenTypes which maps all stuff from Parser
- AbstractXMLCheck which defines some generic methods like beginXMLTree, visitXMLToken, etc.
So it is similar to the javadoc implementation and at some points c/p.
What do you think?