Hi all,
I am trying to use Saxon-B with Maven XML Plugin for transformation
and at the same time I want to validate XML document against Schema. I
found that Saxon works incorrectly when schema is specified. In other
words, when I do something like: <rootElem
xmlns="http://schema-address" … /> it transform
incorrectly (it not working actually, but no error messages provided),
but if simply use <rootElem> (no schema declaration) then Saxon-B
works just fine. The problem here is that without schema declaration
validation task will fail with message Cannot find the declaration of
element 'rootElem ' what is not surprising. So, I wander if there is
any posibilities to specify schema for validation externally? I mean,
is there any way to specify somehow for concrete validationSet that
all documents must be validated against given schema? It kind of
tricky but it can allow to use validation together with XSLT 2.0
together what may be very useful.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email