diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2011-02-01 20:20:02 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2011-02-01 20:20:02 +0000 |
commit | d8261a197b2d8cd10c3f171f2a3ca7e9f04f1302 (patch) | |
tree | 50697e53d839c603592ccdaee6fcbec25e43a35e /src/java/org/apache/fop/fo/FOPropertyMapping.java | |
parent | 3c839549f3deefeba13214cf950aee3b5b832523 (diff) | |
download | xmlgraphics-fop-d8261a197b2d8cd10c3f171f2a3ca7e9f04f1302.tar.gz xmlgraphics-fop-d8261a197b2d8cd10c3f171f2a3ca7e9f04f1302.zip |
Bugzilla 48334: Added implementation for xml:base
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/FOPropertyMapping.java')
-rw-r--r-- | src/java/org/apache/fop/fo/FOPropertyMapping.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java index b1e851ea4..c32aca0f0 100644 --- a/src/java/org/apache/fop/fo/FOPropertyMapping.java +++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java @@ -64,6 +64,7 @@ import org.apache.fop.fo.properties.StringProperty; import org.apache.fop.fo.properties.TableBorderPrecedence; import org.apache.fop.fo.properties.TextDecorationProperty; import org.apache.fop.fo.properties.ToBeImplementedProperty; +import org.apache.fop.fo.properties.URIProperty; import org.apache.fop.fo.properties.VerticalAlignShorthandParser; import org.apache.fop.fo.properties.WhiteSpaceShorthandParser; import org.apache.fop.fo.properties.XMLLangShorthandParser; @@ -2572,7 +2573,7 @@ public final class FOPropertyMapping implements Constants { addPropertyMaker("score-spaces", m); // src - m = new StringProperty.Maker(PR_SRC); + m = new URIProperty.Maker(PR_SRC); m.setInherited(false); m.setDefault(""); addPropertyMaker("src", m); @@ -2819,6 +2820,12 @@ public final class FOPropertyMapping implements Constants { m.setDatatypeParser(new XMLLangShorthandParser()); addPropertyMaker("xml:lang", m); + // xml:base + m = new URIProperty.Maker(PR_X_XML_BASE); + m.setInherited(true); + m.setDefault(""); + addPropertyMaker("xml:base", m); + } } |