Summary: | java.lang.StringIndexOutOfBoundsException | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Antti Karanta <Antti.Karanta> |
Component: | fo tree | Assignee: | fop-dev |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | all | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | Sample xsl-fo file to reproduce the bug |
Description
Antti Karanta
2010-01-13 04:17:05 UTC
Created attachment 24835 [details]
Sample xsl-fo file to reproduce the bug
This issue is due to empty hyphenation-character property. hyphenation-character property should have either a <character> or inherit value. I think that empty string is not a valid value. The crash is indeed a bug. However, I believe it is also erroneous to have the following property specifications (appearing twice in the sample document, and causing the issue): hyphenation-character="" hyphenation-push-character-count="" hyphenation-remain-character-count="" Whether this should be treated as a recoverable error could be made to depend on the 'strict-validation' config option. If validation is relaxed, then we could just use the initial values. resetting P2 open bugs to P3 pending further review |