Uses of Class org.apache.fop.fo.ValidationException (Apache FOP Core 2.11 API)
Date: 2025-04-24

## Uses of Class
org.apache.fop.fo.ValidationException

- Packages that use ValidationException
  Package | Description
  --- | ---
  org.apache.fop.event | Subsystem for reporting events inside FOP to client applications.
  org.apache.fop.fo | Classes, constants and basic infrastructure for the FO tree.
  org.apache.fop.fo.extensions | Base classes for implementing extensions to XSL-FO.
  org.apache.fop.fo.extensions.destination | Classes to support named destinations (only relevant for PDF output)
  org.apache.fop.fo.flow | All the block- and inline-level flow formatting objects.
  org.apache.fop.fo.flow.table |
  org.apache.fop.fo.pagination | All the pagination and declaration formatting objects.
  org.apache.fop.fo.pagination.bookmarks | Formatting objects for bookmarks as defined since XSL 1.1.
  org.apache.fop.render.afp.extensions |
  org.apache.fop.render.pdf.extensions |
  org.apache.fop.render.ps.extensions | Extensions specific to the PostScript Renderer.

- - ### Uses of ValidationException in org.apache.fop.event

    Methods in org.apache.fop.event that return types with arguments of type ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `Class<ValidationException>` | ValidationExceptionFactory.`getExceptionClass()`

  - ### Uses of ValidationException in org.apache.fop.fo

    Methods in org.apache.fop.fo that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `void` | PropertyList.`addAttributesToList(Attributes attributes)` Adds the attributes, passed in by the parser to the PropertyList.
    `void` | FOValidationEventProducer.`columnCountErrorOnRegionBodyOverflowScroll(Object source, String elementName, Locator loc)` If overflow property is set to "scroll", a column-count other than "1" may not be specified.
    `void` | FOValidationEventProducer.`duplicateFlowNameInPageSequence(Object source, String elementName, String flowName, Locator loc)` There are multiple flows with the same name.
    `void` | FOValidationEventProducer.`emptyDocument(Object source)` No FO document was found.
    `void` | FOValidationEventProducer.`flowNameNotMapped(Object source, String elementName, String flowName, Locator loc)` A flow name could not be mapped to a region.
    `protected void` | PropertyList.`handleInvalidProperty(org.apache.xmlgraphics.util.QName attr)` Handles an invalid property.
    `void` | FOValidationEventProducer.`idNotUnique(Object source, String elementName, String id, boolean canRecover, Locator loc)` An id was used twice in a document.
    `void` | FOValidationEventProducer.`illegalRegionName(Object source, String elementName, String regionName, Locator loc)` An illegal region name was used.
    `void` | FOValidationEventProducer.`invalidChild(Object source, String elementName, org.apache.xmlgraphics.util.QName offendingNode, String ruleViolated, Locator loc)` An invalid child was encountered.
    `protected void` | FONode.`invalidChildError(Locator loc, String nsURI, String lName)` Helper function to return "invalid child" exceptions (e.g., `fo:block` appearing immediately under `fo:root`)
    `protected void` | FONode.`invalidChildError(Locator loc, String parentName, String nsURI, String lName, String ruleViolated)` Helper function to return "invalid child" exceptions with more complex validation rules (i.e., needing more explanation of the problem)
    `void` | FOValidationEventProducer.`invalidFORoot(Object source, String elementName, Locator loc)` fo:root must be root.
    `void` | FOValidationEventProducer.`invalidProperty(Object source, String elementName, org.apache.xmlgraphics.util.QName attr, boolean canRecover, Locator loc)` An invalid property was found.
    `protected void` | FONode.`invalidPropertyValueError(String propertyName, String propertyValue, Exception e)` Helper function to throw an error caused by an invalid property
    `void` | FOValidationEventProducer.`masterNameNotUnique(Object source, String elementName, String name, Locator loc)` There are multiple page masters defined with the same name.
    `void` | FOValidationEventProducer.`masterNotFound(Object source, String elementName, String masterReference, Locator loc)` A page master could not be found.
    `void` | FOValidationEventProducer.`missingChildElement(Object source, String elementName, String contentModel, boolean canRecover, Locator loc)` A required child element is missing.
    `protected void` | FONode.`missingChildElementError(String contentModel)` Helper function to throw an error caused by missing mandatory child elements.
    `protected void` | FONode.`missingChildElementError(String contentModel, boolean canRecover)` Helper function to throw an error caused by missing mandatory child elements.
    `void` | FOValidationEventProducer.`missingLinkDestination(Object source, String elementName, Locator loc)` Missing internal-/external-destination on basic-link or bookmark.
    `void` | FOValidationEventProducer.`missingProperty(Object source, String elementName, String propertyName, Locator loc)` An element is missing a required property.
    `protected void` | FONode.`missingPropertyError(String propertyName)` Helper function to throw an error caused by missing mandatory properties
    `void` | FOValidationEventProducer.`nodeOutOfOrder(Object source, String elementName, String tooLateNode, String tooEarlyNode, boolean canRecover, Locator loc)` The node order is wrong.
    `protected void` | FONode.`nodesOutOfOrderError(Locator loc, String tooLateNode, String tooEarlyNode)` Helper function to standardize "out of order" exceptions (e.g., `fo:layout-master-set` appearing after `fo:page-sequence`)
    `protected void` | FONode.`nodesOutOfOrderError(Locator loc, String tooLateNode, String tooEarlyNode, boolean canRecover)` Helper function to standardize "out of order" exceptions (e.g., fo:layout-master-set appearing after fo:page-sequence)
    `void` | FOValidationEventProducer.`nonZeroBorderPaddingOnRegion(Object source, String elementName, String regionName, boolean canRecover, Locator loc)` A non-zero border and/or padding has been encountered on a region.
    `void` | FOValidationEventProducer.`notSupportedChild(Object source, String elementName, org.apache.xmlgraphics.util.QName offendingNode, Locator loc)` A valid but not yet supported child was encountered.
    `protected void` | FONode.`notSupportedChildError(Locator loc, String nsURI, String lName)` Helper function to return "not supported child" exceptions.
    `void` | FOValidationEventProducer.`regionNameMappedToMultipleRegionClasses(Object source, String regionName, String defaultRegionClass1, String defaultRegionClass2, Locator loc)` A region name is mapped to multiple region classes.
    `void` | FOValidationEventProducer.`tooManyNodes(Object source, String elementName, org.apache.xmlgraphics.util.QName offendingNode, Locator loc)` Too many child nodes.
    `protected void` | FONode.`tooManyNodesError(Locator loc, org.apache.xmlgraphics.util.QName offendingNode)` Helper function to standardize "too many" error exceptions (e.g., two `fo:declarations` within `fo:root`)
    `protected void` | FONode.`tooManyNodesError(Locator loc, String offendingNode)` Helper function to standardize "too many" error exceptions (e.g., two fo:declarations within fo:root) This overloaded method helps make the caller code better self-documenting
    `protected void` | FONode.`tooManyNodesError(Locator loc, String nsURI, String lName)` Helper function to standardize "too many" error exceptions (e.g., two fo:declarations within fo:root)
    `protected static void` | FONode.`validateChildNode(FONode fo, Locator loc, String namespaceURI, String localName)` Static version of `FONode.validateChildNode(Locator, String, String)` that can be used by subclasses that need to validate children against a different node (for example: `fo:wrapper` needs to check if the incoming node is a valid child to its parent)
    `protected void` | XMLObj.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | FONode.`validateChildNode(Locator loc, String namespaceURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

  - ### Uses of ValidationException in org.apache.fop.fo.extensions

    Methods in org.apache.fop.fo.extensions that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ExternalDocument.`validateChildNode(Locator loc, String nsURI, String localName)`

  - ### Uses of ValidationException in org.apache.fop.fo.extensions.destination

    Methods in org.apache.fop.fo.extensions.destination that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | Destination.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

  - ### Uses of ValidationException in org.apache.fop.fo.flow

    Methods in org.apache.fop.fo.flow that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `void` | Marker.MarkerPropertyList.`addAttributesToList(Attributes attributes)` Override that doesn't convert the attributes to `Property` instances, but simply stores the attributes for later processing.
    `protected void` | Leader.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | AbstractPageNumberCitation.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | MultiProperties.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | BasicLink.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | FootnoteBody.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | ExternalGraphic.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | BlockContainer.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | PageNumber.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Wrapper.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | AbstractRetrieveMarker.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Inline.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | ListBlock.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | InstreamForeignObject.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Marker.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | ChangeBar.`validateChildNode(Locator loc, String namespaceURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | MultiCase.`validateChildNode(Locator loc, String nsURI, String localName)` Content Model: (#PCDATA|%inline;|%block)*
    `protected void` | ListItem.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Character.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | MultiSwitch.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | MultiPropertySet.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | MultiToggle.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Float.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | InlineContainer.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | InitialPropertySet.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Block.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Footnote.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | AbstractListItemPart.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

  - ### Uses of ValidationException in org.apache.fop.fo.flow.table

    Methods in org.apache.fop.fo.flow.table that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TablePart.`finishLastRowGroup()` Finish last row group.
    `void` | TableEventProducer.`footerOrderCannotRecover(Object source, String elementName, Locator loc)` The table-footer was found after the table-body.
    `void` | TableEventProducer.`noMixRowsAndCells(Object source, String elementName, Locator loc)` No mixing of table-rows and table-cells is allowed for direct children of table-body.
    `void` | TableEventProducer.`tooManyCells(Object source, Locator loc)` Column-number or number of cells in the row overflows the number of fo:table-column specified for the table.
    `protected void` | Table.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | TablePart.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | TableCaption.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | TableColumn.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | TableAndCaption.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | TableRow.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | TableCell.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

  - ### Uses of ValidationException in org.apache.fop.fo.pagination

    Methods in org.apache.fop.fo.pagination that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | LayoutMasterSet.`addPageSequenceMaster(String masterName, PageSequenceMaster pSM)` Add a page sequence master.
    `protected void` | LayoutMasterSet.`addSimplePageMaster(SimplePageMaster sPM)` Add a simple page master.
    `void` | RepeatablePageMasterReference.`resolveReferences(LayoutMasterSet layoutMasterSet)` called by the parent LayoutMasterSet to resolve object references from simple page master reference names
    `void` | SubSequenceSpecifier.`resolveReferences(LayoutMasterSet layoutMasterSet)` called by the parent LayoutMasterSet to resolve object references from simple page master reference names
    `void` | RepeatablePageMasterAlternatives.`resolveReferences(LayoutMasterSet layoutMasterSet)` called by the parent LayoutMasterSet to resolve object references from simple page master reference names
    `void` | ConditionalPageMasterReference.`resolveReferences(LayoutMasterSet layoutMasterSet)` called by the parent RepeatablePageMasterAlternatives to resolve object references from simple page master reference names
    `void` | SinglePageMasterReference.`resolveReferences(LayoutMasterSet layoutMasterSet)` called by the parent LayoutMasterSet to resolve object references from simple page master reference names
    `protected void` | Root.`validateChildNode(Locator loc, FONode child)`
    `protected void` | RepeatablePageMasterReference.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | PageSequence.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | RepeatablePageMasterAlternatives.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | PageSequenceMaster.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Flow.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | ColorProfile.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Title.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | LayoutMasterSet.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Root.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | SimplePageMaster.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Region.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | StaticContent.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | ConditionalPageMasterReference.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | SinglePageMasterReference.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | PageSequenceWrapper.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Declarations.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

  - ### Uses of ValidationException in org.apache.fop.fo.pagination.bookmarks

    Methods in org.apache.fop.fo.pagination.bookmarks that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BookmarkTree.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | BookmarkTitle.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.
    `protected void` | Bookmark.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

  - ### Uses of ValidationException in org.apache.fop.render.afp.extensions

    Methods in org.apache.fop.render.afp.extensions that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractAFPExtensionObject.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

  - ### Uses of ValidationException in org.apache.fop.render.pdf.extensions

    Methods in org.apache.fop.render.pdf.extensions that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | PDFDocumentInformationElement.`validateChildNode(Locator loc, String namespaceURI, String localName)`

  - ### Uses of ValidationException in org.apache.fop.render.ps.extensions

    Methods in org.apache.fop.render.ps.extensions that throw ValidationException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractPSExtensionElement.`validateChildNode(Locator loc, String nsURI, String localName)` Blocks XSL FO's from having non-FO parents.
    `protected void` | AbstractPSExtensionObject.`validateChildNode(Locator loc, String nsURI, String localName)` Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that `fo:table` is not an immediate child of `fo:root`) called from `FOTreeBuilder.startElement(String, String, String, Attributes)` before constructing the child `FObj`.

Copyright © 2025 Apache Software Foundation. All rights reserved.