Schema validation for Java EE job descriptors


I cannot get the schema validation to work for a Java EE 7 job descriptor.

The xml file is:

<?xml version="1.0" encoding="UTF-8"?>

<job id="ImportPortals" version="1.0" restartable="true"

    <step id="FirstImport">
        <chunk item-count="3">
            <reader ref="myItemReader"/>
            <processor ref="myItemProcessor"/>
            <writer ref="myItemWriter"/>

The problem seems to be:

  • The XSD of Java EE share the same namespace. this is
  • IDEA associates the ee7/javaee_7.xsd with that namespace. (It is shown when pressing Alt-Space.) This XSD does not contain the job specification.

Anyone any hints?



Please sign in to leave a comment.