[ 
https://issues.apache.org/jira/browse/FOP-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529908#comment-13529908
 ] 

Robert Meyer edited comment on FOP-1069 at 12/12/12 12:22 PM:
--------------------------------------------------------------

This bug is quite an old one but it still applies to the current build. This 
patch now causes FOP to give a warning if part of the property value is 
invalid. Using the attached FO (test2.fo) with Jeremias's original example now 
gives:

Invalid property value encountered in border="solit" (See position 21:33)
                
      was (Author: rmeyer):
    This bug is quite an old one but it still applies to the current build. 
This patch now causes FOP to give a warning if part of the property value is 
invalid e.g. using the attached FO (test2.fo) with Jeremias's original example:

Invalid property value encountered in border="solit" (See position 21:33)
                  
> No error message on illegal/unknown values on a property
> --------------------------------------------------------
>
>                 Key: FOP-1069
>                 URL: https://issues.apache.org/jira/browse/FOP-1069
>             Project: Fop
>          Issue Type: Bug
>          Components: fo tree
>    Affects Versions: trunk
>         Environment: Operating System: All
> Platform: All
>            Reporter: Jeremias Maerki
>            Assignee: fop-dev
>         Attachments: patch.diff, test2.fo
>
>
> I've written border="solit 1pt" into an FO file. When I realized my typo I 
> went
> looking for an error message but didn't find one. I looked around to fix this
> myself but didn't find the right spot in reasonable time as I'm concentrating 
> on
> other stuff right now. I'm posting it here so it doesn't get lost.
> FOP should notify the user that it has found a value it cannot deal with,
> especially if this is an enum value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to