resolve codelists

This commit is contained in:
jstaerk
2023-04-13 21:01:02 +02:00
parent 2d9b68d9ab
commit a824b7ea89
5 changed files with 2503 additions and 2155 deletions

View File

@@ -210,6 +210,11 @@ Change to the project directory and run
Afterwards you can access the release page and update the documentation, e.g. upload the jar, the jar javadoc and ZugferdDev. You can also enter a changelog and a better title.
## Regular updates
XRechnung from https://github.com/itplr-kosit/xrechnung-schematron,
put in schematro, have xslt generated, potentially manually include
the included file
## Release process

View File

@@ -170,7 +170,7 @@ public class ZUGFeRDVisualizer {
@Override
public Source resolve(String href, String base) throws TransformerException {
return new StreamSource(CLASS_LOADER.getResourceAsStream(RESOURCE_PATH + href));
return new StreamSource(CLASS_LOADER.getResourceAsStream(RESOURCE_PATH +"stylesheets/"+ href));
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -64,6 +64,6 @@ public class VisualizationTest extends ResourceCase {
assertNotNull(result);
// Reading ZUGFeRD
// assertEquals(expected, result);
//assertEquals(expected, result);
}
}

View File

@@ -72,7 +72,8 @@ public class SchematronPipeline {
@Override
public Source resolve(String href, String base) throws TransformerException {
return new StreamSource(cl.getResourceAsStream(resourcePath + href));
return new StreamSource(cl.getResourceAsStream(resourcePath +"xslt/"+ href));
// return new StreamSource(cl.getResourceAsStream(resourcePath + href));
}
}