Skip to content

Commit

Permalink
#82 Rename XSD files
Browse files Browse the repository at this point in the history
  • Loading branch information
donmendelson committed Jan 24, 2020
1 parent ac6df97 commit 74c5e71
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public void validate(InputStream repositoryInstance)
factory.setResourceResolver(resourceResolver);

// load a WXS schema, represented by a Schema instance
URL resourceUrl = this.getClass().getClassLoader().getResource("xsd/FixRepository2016.xsd");
URL resourceUrl = this.getClass().getClassLoader().getResource("xsd/repository.xsd");
String path = resourceUrl.getPath();
String parentPath = path.substring(0, path.lastIndexOf('/'));
URL baseUrl = new URL(resourceUrl.getProtocol(), null, parentPath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</xs:annotation>
<!-- includes xml:base to support XInclude -->
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
<xs:include schemaLocation="repositorytypes2016.xsd"/>
<xs:include schemaLocation="repositorytypes.xsd"/>
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="dcterms.xsd"/>
<xs:element name="actors">
<xs:annotation>
Expand Down

0 comments on commit 74c5e71

Please sign in to comment.