diff options
author | Peter Hancock <phancock@apache.org> | 2013-01-09 09:37:11 +0000 |
---|---|---|
committer | Peter Hancock <phancock@apache.org> | 2013-01-09 09:37:11 +0000 |
commit | 91d9b34a7a9a443e58938697d2a5cb43a9475d77 (patch) | |
tree | 562f101c5c9decc81bfde8ef01138cc27494f6c0 /src/java/org/apache/fop/fo/FOValidationEventProducer.java | |
parent | 824c570eb4d7d99d2d78e5eaeb1a19549352846e (diff) | |
download | xmlgraphics-fop-91d9b34a7a9a443e58938697d2a5cb43a9475d77.tar.gz xmlgraphics-fop-91d9b34a7a9a443e58938697d2a5cb43a9475d77.zip |
JIRA#FOP-1069: Warn instead or error on invalid property values.
--Thi--s line, and those below, will be ignored--
M src/java/org/apache/fop/render/ps/PSTextPainter.java
M src/java/org/apache/fop/layoutmgr/inline/ImageLayout.java
M src/java/org/apache/fop/fo/FObj.java
M src/java/org/apache/fop/fo/FOValidationEventProducer.java
M src/java/org/apache/fop/fo/FOValidationEventProducer.xml
M status.xml
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1430746 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/FOValidationEventProducer.java')
-rw-r--r-- | src/java/org/apache/fop/fo/FOValidationEventProducer.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/FOValidationEventProducer.java b/src/java/org/apache/fop/fo/FOValidationEventProducer.java index 98b118952..c79b2b803 100644 --- a/src/java/org/apache/fop/fo/FOValidationEventProducer.java +++ b/src/java/org/apache/fop/fo/FOValidationEventProducer.java @@ -221,6 +221,20 @@ public interface FOValidationEventProducer extends EventProducer { Locator loc); /** + * An invalid property value was encountered. + * @param source the event source + * @param elementName the name of the context node + * @param propName the property name + * @param propValue the property value + * @param e the property exception caused by the invalid value + * @param loc the location of the error or null + * @event.severity WARN + */ + void warnOnInvalidPropertyValue(Object source, String elementName, + String propName, String propValue, PropertyException e, + Locator loc); + + /** * A feature is not supported, yet. * @param source the event source * @param elementName the name of the context node |