validate problem with includes itself recurs.

  • Peter

    Peter - 2012-09-07


    We use Saxon-EE to validate some citygml-files (validate against schema on and
    Some weeks ago, the OGC has changed some gml-schemas (http://www.opengeospati

    Since then we can’t do a validation with saxon-ee and get the warning “Warning
    at include…, gml.xsd includes itself recursively”
    At the end of the validation process, we get the message “No more warnings
    will be displayed” and we don’t get the contained error (line 13, syntax of
    date) of the file.

    What can we do to fix this?

    Thank you for your help.


  • Michael Kay

    Michael Kay - 2012-09-07

    Thanks for reporting it. I have logged the problem here:

    and have committed a patch.

    A possible workaround is to run with your own ErrorListener - since the bug is
    in the standard error listener, you can override it with a version that fixes
    the bug. You can supply this using the option --errorListenerClass:classname
    where classname is the name of your implementation. I'm attaching the
    corrected code of the standard error listener, which you can simply rename.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks