Open dteirney opened 7 years ago
maven fails with the same error - I guess the complexType should be factored out to a common.xsd
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
<configuration>
<validationSets>
<validationSet>
<dir>src/main/schemas</dir>
<includes>
<include>**/*.xsd</include>
</includes>
</validationSet>
<validationSet>
<dir>src/main/apiproxy</dir>
<includes>
<include>**/*.xml</include>
</includes>
<systemId>src/main/schemas/all_.xsd</systemId>
</validationSet>
</validationSets>
</configuration>
</plugin>
There is also a validation error in jwt.xsd
This issue impacts both all.xsd
and all_policies.xsd
. I'd love to see this working, particularly to validate shared flows.
I opened issue 113 for the error in jwt.xsd
.
Hello, was hoping to use the
all_policies.xsd
to validate all of the XML files in our source tree that contain Apigee API Policies.However, I get lots of schema validation errors using xmllint
Is the
all_policies.xsd
intended to be used like this?