diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-05-28 10:23:10 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-05-28 10:23:10 +0000 |
commit | 4251cfe084fb0f9782b455b461cbcbff88a3bb37 (patch) | |
tree | fe079e33fdcb4fde02894e1102418219b0452010 /src/java/org/apache | |
parent | 81b174b68556a575308eb84ebe2c976f19be5b0a (diff) | |
download | xmlgraphics-fop-4251cfe084fb0f9782b455b461cbcbff88a3bb37.tar.gz xmlgraphics-fop-4251cfe084fb0f9782b455b461cbcbff88a3bb37.zip |
cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@660896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rwxr-xr-x | src/java/org/apache/fop/render/afp/extensions/AFPElement.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/render/afp/extensions/AFPElement.java b/src/java/org/apache/fop/render/afp/extensions/AFPElement.java index 7d32c90d7..2fdd32649 100755 --- a/src/java/org/apache/fop/render/afp/extensions/AFPElement.java +++ b/src/java/org/apache/fop/render/afp/extensions/AFPElement.java @@ -46,15 +46,12 @@ public class AFPElement extends AbstractAFPExtensionObject { /** {@inheritDoc} */ protected void startOfNode() throws FOPException { super.startOfNode(); - //if (!AFPElementMapping.NAMESPACE.equals(parent.getNamespaceURI()) - // || !AFPElementMapping.PAGE.equals(parent.getLocalName())) { - // throw new ValidationException(getName() + " must be a child of afp:page."); - //} if (parent.getNameId() != Constants.FO_SIMPLE_PAGE_MASTER) { throw new ValidationException(getName() + " must be a child of fo:simple-page-master."); } } + /** {@inheritDoc} */ protected ExtensionAttachment instantiateExtensionAttachment() { return new AFPPageSetup(getName()); } |