IP Library Granted Patent US 7,958,492
Granted Patent B2
US 7,958,492 · App. 11/744,152 · Granted Jun 7, 2011

Integration of external schemas and types into native programming languages

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,958,492
App. No.
11/744,152
Granted
Jun 7, 2011
Kind
B2
Abstract

A system includes a processor, a storage medium, an extensible markup language (XML) schema stored on the storage medium, and a script for manipulating an XML document stored on the storage medium. The script includes an import function to import the XML schema such that the definitions of the XML schema are used to interpret the script.

Claims (28)

1. A system comprising:

a processor;

a storage medium;

an extensible markup language (XML) schema stored on the storage medium; and

a script for manipulating an XML document in accordance with a scripting language stored on the storage medium, the script including an import function to import the XML schema to create one or more new types within the scripting language for manipulating XML values conforming to one or more type definitions within the XML schema such that the one or more new types are used to interpret the script; wherein the script uses a keyref dereference operator to use a keyref defined in the XML schema to get data.

2. The system of claim 1 , wherein a type definition of the XML schema is used to interpret the script.

3. The system of claim 2 , wherein at least one of the type definitions is a complex type definition.

4. The system of claim 2 , wherein a function in the script interprets data according to the type definition in the XML schema.

5. The system of claim 1 , wherein the script includes a validate method to check if an XML schema data constraint is violated.

6. The system of claim 1 , wherein the system coerces data into a type defined in the XML schema.

7. The system of claim 1 , further comprising an interpreter to evaluate the script; wherein the script uses a keyref dereference operator to use a keyref defined in the XML schema to get data.

8. A device, comprising:

a processor;

a storage medium; and

an interpreter for executing a script in accordance with a scripting language stored on the storage medium, the scripting language including an import function to import an extensible markup language (XML) schema to create one or more new types within the scripting language for manipulating XML values conforming to one or more type definitions within the XML schema such that the one or more new types are used to interpret the script.

9. The device of claim 8 , wherein a type definition of the XML schema is used to interpret the script.

10. The device of claim 9 , wherein at least one of the type definitions is a complex type definition.

11. The device of claim 9 , wherein a function in the script interprets data according to the type definition in the XML schema.

12. The device of claim 8 , wherein the script includes a validate method to check if an XML schema data constraint is violated.

13. The device of claim 8 , wherein the device coerces data into a type defined in the XML schema.

14. A computer executable method comprising:

importing, by a processor, an extensible markup language (XML) schema for a script, the script allowing the manipulation of an XML document in accordance with a scripting language; and

using, by the processor, one or more type definitions within the XML schema to create one or more new types within the scripting language for manipulating XML values conforming to the one or more type definitions within the XML schema, and using the one or more new types to interpret the script; wherein the script uses a keyref dereference operator to use a keyref defined in the XML schema to get data.

15. The computer executable method of claim 14 , wherein a type definition of the XML schema is used to interpret the script.

16. The computer executable method of claim 14 , wherein at least one of the type definitions is a complex type definition.

17. The computer executable method of claim 14 , wherein a function in the script interprets data according to the type definition in the XML schema.

18. The computer executable method of claim 14 , wherein the script includes a validate method to check if an XML schema data constraint is violated.

19. The computer executable method of claim 14 , further comprising coercing data into a type defined in the XML schema.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 1, 2010
From: BEA SYSTEMS, INC.
To: ORACLE INTERNATIONAL CORPORATION
Reel/Frame 025084/0470 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 22, 2007
From: SCHNEIDER, JOHN C.
To: BEA SYSTEMS, INC.
Reel/Frame 019736/0526 →