Reusable XPath validation expressions
First Claim
Patent Images
1. A method for validating XML based form fields comprising:
- identifying a reusable XPath validation expression including at least one substitution marker;
mapping the at least one substitution marker to variables specified by a development tool;
designating at least one field to be validated with the reusable XPath validation expression utilizing the development tool;
the development tool automatically replacing the substitution marker with the specified variables; and
generating an XML based form using the development tool, said XML based form including the designated field, wherein in the generated XML based form, the development tool automatically replaces the substitution marker with a path specific to the XML based form.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for validating input received from an XML based form using reusable XPath validation expressions. The method can include a step of identifying a reusable XPath validation expression including at least one substitution marker. The substitution marker can be mapped to one or more values specific to an XML instance. At least one field to be validated with the reusable XPath validation expression can be designated utilizing the development tool. The development tool can automatically replace the substitution marker with the appropriate value specific to an XML instance.
103 Citations
20 Claims
-
1. A method for validating XML based form fields comprising:
-
identifying a reusable XPath validation expression including at least one substitution marker;
mapping the at least one substitution marker to variables specified by a development tool;
designating at least one field to be validated with the reusable XPath validation expression utilizing the development tool;
the development tool automatically replacing the substitution marker with the specified variables; and
generating an XML based form using the development tool, said XML based form including the designated field, wherein in the generated XML based form, the development tool automatically replaces the substitution marker with a path specific to the XML based form. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A reusable XPath validation expression comprising:
-
at least one expression segment, each expression segment containing logic for validating received input, said logic being written in accordance with in an XPath compliant language;
at least one substitution marker, wherein each substitution marker is a place holding value that is written in an XML instance independent fashion; and
at least one return value that indicates whether input received via an XML based interface is successfully validated by the reusable XPath validation expression. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. An XForms design software application comprising:
-
an interactive interface for graphically generating an XML form compliant with the XForms language;
a validation data store, including a plurality of reusable XPath validation expressions, wherein the interactive interface is configured to permit a user to associate one of the reusable XPath validation expressions with a field of an XML user interface, wherein the association occurs before the field is bound to a data element of an XForms model, wherein the XForms design software application automatically inserts a designation for the data element within the reusable XPath validation expression after the field is bound to the data element.
-
-
20. The XForms design software application comprising:
a re-usable validation expression creation module configured to permit a user of the interactive interface to create a new reusable XPath expression, which is subsequently added to the validation data store.
Specification