Package com.saxonica.ee.schema.sdoc
Class UnknownElement
java.lang.Object
net.sf.saxon.tree.linked.NodeImpl
net.sf.saxon.tree.linked.ParentNodeImpl
net.sf.saxon.tree.linked.ElementImpl
com.saxonica.ee.schema.sdoc.SchemaElement
com.saxonica.ee.schema.sdoc.UnknownElement
- All Implemented Interfaces:
- Source,- SourceLocator,- ActiveSource,- GroundedValue,- Item,- MutableNodeInfo,- NamespaceResolver,- NodeInfo,- Sequence,- Location,- SteppingNode,- SiblingCountingNode,- Locator
An unknown element in an XML Schema document. This may be an element with an unknown
 name in the schema namespace, or an element in a user namespace. In both cases the
 element is valid within xs:appInfo and xs:documentation, but not elsewhere. We don't
 validate the contents of the element.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.saxonica.ee.schema.sdoc.SchemaElementSchemaElement.XPathStaticContext
- 
Field SummaryFields inherited from class com.saxonica.ee.schema.sdoc.SchemaElementNAMESPACE_ANY, NAMESPACE_LOCAL, NAMESPACE_OTHER, NAMESPACE_TARGET, REQUIRE_NULL_NS, REQUIRE_TARGET_NS, USE_DEFAULT_NS, USE_DEFAULT_NS_WITHOUT_IMPORTFields inherited from class net.sf.saxon.tree.linked.NodeImplNODE_LETTER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidValidate and process the attributes on this element in the schema documentvoidvalidate(SchemaCompiler compiler) Validate this schema element, checking all document-level constraintsvoidvalidateSubtree(SchemaCompiler compiler) Recursive walk through the stylesheet to validate all nodes: this implementation suppresses the subtree validation.Methods inherited from class com.saxonica.ee.schema.sdoc.SchemaElementallocateAnonymousTypeCode, allowAttributes, checkContentModel, checkLocalTargetNamespace, checkMutuallyExclusiveAttributes, checkOnlyChildIsAnnotation, checkPermittedType, duplicate, duplicateElement, error, error, getComponentName, getContainingComplexType, getContainingSimpleType, getFingerprint, getSchema, getSchemaNodeFactory, getXSDSchema, illegalElement, indefiniteArticle, invalidAttributeValue, isFinalState, isTopLevel, makeNamespaceContext, missingAttribute, missingChildElement, mustBeFirstElement, mustPrecede, mutuallyExclusive, mutuallyExclusiveAttributes, mutuallyExclusiveElementAndAttribute, parseBooleanAttribute, parseFinalOrBlock, postValidate, processAllAttributes, processAllowedNamespaces, processDisallowedNamespaces, processDisallowedQNames, processId, processMaxOccurs, processMinOccurs, requireAttribute, setSchemaNodeFactory, validateChildren, warningMethods inherited from class net.sf.saxon.tree.linked.ElementImpladdAttribute, addNamespace, addNamespace, attributes, checkNotNamespaceSensitiveElement, copy, delete, fixupInsertedNamespaces, generateId, getAllNamespaces, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getLineNumber, getNodeKind, getNodeName, getRoot, getSchemaType, getSystemId, getURIForPrefix, initialise, isId, isIdref, isIdRefNode, isInScopeNamespace, isNilled, iteratePrefixes, removeAttribute, removeNamespace, removeTypeAnnotation, rename, replaceStringValue, setAttributeInfo, setAttributes, setLocation, setNamespaceMap, setNilled, setNodeName, setSystemId, setTypeAnnotationMethods inherited from class net.sf.saxon.tree.linked.ParentNodeImpladdChild, compact, getFirstChild, getLastChild, getNthChild, getNumberOfChildren, getRawSequenceNumber, getSequenceNumber, getUnicodeStringValue, hasChildNodes, insertChildren, insertChildrenAt, iterateChildren, removeChild, replaceChildrenAt, setChildren, setRawSequenceNumberMethods inherited from class net.sf.saxon.tree.linked.NodeImplatomize, compareOrder, effectiveBooleanValue, equals, getConfiguration, getDisplayName, getFingerprint, getLocalPart, getNamePool, getNamespaceUri, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getRawParent, getSiblingPosition, getSuccessorElement, getTreeInfo, hasFingerprint, hashCode, head, insertSiblings, isDeleted, iterateAxis, iterateAxis, newBuilder, replace, saveLocation, setRawParent, setSiblingPositionMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.om.GroundedValueasIterable, concatenate, containsNode, materializeMethods inherited from interface net.sf.saxon.om.ItemgetLength, getStringValue, itemAt, iterate, reduce, subsequenceMethods inherited from interface net.sf.saxon.om.NodeInfoasActiveSource, children, children, deliver, getAttributeValue, getGenre, getPublicId, getURI, isSameNodeInfo, isStreamed, toShortStringMethods inherited from interface net.sf.saxon.om.SequencemakeRepeatable
- 
Constructor Details- 
UnknownElementpublic UnknownElement()Creates a new unknown element
 
- 
- 
Method Details- 
prepareAttributesValidate and process the attributes on this element in the schema document- Specified by:
- prepareAttributesin class- SchemaElement
- Throws:
- SchemaException- if any errors are found in the attributes
 
- 
validateSubtreeRecursive walk through the stylesheet to validate all nodes: this implementation suppresses the subtree validation.- Overrides:
- validateSubtreein class- SchemaElement
- Parameters:
- compiler- the schema compiler
 
- 
validateValidate this schema element, checking all document-level constraints- Overrides:
- validatein class- SchemaElement
- Parameters:
- compiler- the schema compiler
 
 
-