]> source.dussan.org Git - xmlgraphics-fop.git/commit
Stricter user config file validation.
authorVincent Hennebert <vhennebert@apache.org>
Wed, 14 Feb 2007 14:24:36 +0000 (14:24 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Wed, 14 Feb 2007 14:24:36 +0000 (14:24 +0000)
commit404013f30e23b12ab477650846eb0e65b58a1394
tree68d16c7870a4a6beb3ea5c07f02a4bf46c5f8610
parentdfb9bf9c3a9d1300d1575a9151580208f1ed994f
Stricter user config file validation.
Add a configuration parameter (strict-configuration), enabled by default, which makes FOP throw an exception instead of logging an error when a problem occurs.
Invalid resource paths should be catched now. Fixes bug #40120.
Submitted by: Adrian Cumiskey (fop-dev AT cumiskey DOT com)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@507539 13f79535-47bb-0310-9956-ffa450edef68
31 files changed:
build.xml
src/documentation/content/xdocs/trunk/configuration.xml
src/foschema/fop-configuration.xsd
src/java/org/apache/fop/apps/FOURIResolver.java
src/java/org/apache/fop/apps/FOUserAgent.java
src/java/org/apache/fop/apps/FopFactory.java
src/java/org/apache/fop/fonts/FontSetup.java
src/java/org/apache/fop/render/AbstractRenderer.java
src/java/org/apache/fop/render/PrintRenderer.java
src/java/org/apache/fop/render/RendererFactory.java
src/java/org/apache/fop/render/pdf/PDFRenderer.java
src/java/org/apache/fop/render/ps/PSRenderer.java
src/java/org/apache/fop/render/xml/XMLRenderer.java
status.xml
test/config/test_embedurl_bad.xconf [new file with mode: 0644]
test/config/test_embedurl_malformed.xconf [new file with mode: 0644]
test/config/test_fontattributes_missing.xconf [new file with mode: 0644]
test/config/test_fontbase_bad.xconf [new file with mode: 0644]
test/config/test_fonttripletattribute_missing.xconf [new file with mode: 0644]
test/config/test_metricsurl_bad.xconf [new file with mode: 0644]
test/config/test_metricsurl_malformed.xconf [new file with mode: 0644]
test/java/org/apache/fop/config/BaseUserConfigTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/EmbedUrlBadTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/EmbedUrlMalformedTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/FontAttributesMissingTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/FontBaseBadTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/FontTripletAttributeMissingTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/MetricsUrlBadTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/MetricsUrlMalformedTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/config/UserConfigTestSuite.java [new file with mode: 0644]
test/java/org/apache/fop/render/pdf/BasePDFTestCase.java