Association of application specific code with nodes of a document object model using extensions to an XML schema
AssigneeSun Microsystems, Inc.
InventorsNigel Jacobs, Christine Tomlinson
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsNigel Jacobs, Christine Tomlinson
Estimating the term…
Techniques have been developed to encode in an XML schema element an identification of a class that implements the element. Using an XML schema encode in this way, a parser may perform (at parse time) application-specific modifications to an active document object model (DOM) tree. Linking the specification of application-specific processing to the schema provides significant maintenance advantages. Furthermore, the technique allows provision of a scripting facility. Two suitable XML facilities that may be used to encode the extensions are (1) attributes in a name space declared in the schema and (2) annotations. A computer readable encoding of an XML schema element, the encoding including an extension mechanism that identifies a class that implements the element.
A method of supporting application specific functionality in an XML processing environment, the method comprising:
A schema encoded in one or more computer readable media, the schema encoding comprising:
A tagged markup language processor that instantiates functionality in an execution environment based on a schema extended by a mechanism that maps an element of the schema to the functionality, the functionality implementing the element, and wherein the tagged markup language processor evaluates tagged markup language directives at least in part using the instantiated functionality.
A tagged markup language processor comprising:
An apparatus comprising:
Dependencies are inferred from the claim text.