US2006248538A1PendingUtilityA1
Xml interfaces in unified rendering
Est. expiryOct 1, 2022(expired)· nominal 20-yr term from priority
G06F 11/3608G06F 11/2294G06F 8/436
44
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
Computer implemented methods are provided for validating computer code in order to reduce errors at runtime. In one implementation, the method comprises providing a computer program by defining at least one set of definition instructions, at least one set of implementation instructions, and a script code section. The definition instructions and the implementation instructions may be described in XML. Further, the method may comprise validating the set of definition instructions and the set of implementation instructions using a validation tool, and validating the script code section using the set of implementation instructions.
Claims
exact text as granted — not AI-modified1 . A computer-implemented method for validating computer code, comprising:
providing a computer program by defining at least one set of definition instructions, at least one set of implementation instructions and at least a script code section; validating the set of definition instructions and the set of implementation instructions using a validation tool; and validating the script code section using the set of implementation instructions.
2 . The method according to claim 1 , wherein the set of definition instructions are classes and the set of implementation instructions are interfaces.
3 . The method according to claim 1 , wherein the set of definition instructions are converted into classes and the set of implementation instructions are converted into interfaces.
4 . The method according to claim 3 , wherein the set of definition instructions and the set of implementation instructions are described in XML.
5 . The method according to claim 4 , wherein the classes and the interfaces are defined in Java language.
6 . The method according to claim 1 , wherein the set of definition instructions is defined in a tree structure.
7 . The method according to claim 1 , wherein the script code section is JavaScript.
8 . The method according to claim 1 , wherein validating the script code section comprises generating a symbol table by executing the code section in an interpreter, and comparing the symbol table with the implementation instructions.
9 . (canceled)
10 . The method according to claim 1 , wherein the set of implementation instructions is defined in a tree structure.
11 . The method according to claim 1 , wherein the set of definition instructions is defined in a first tree structure and the set of implementation instructions is defined in a second tree structure.
12 . A computer readable medium that is readable by a processor, the computer readable medium comprising a set of instructions executable by the processor to perform a method for validating computer code, the method comprising:
defining a set of definition instructions; defining a set of implementation instructions; defining a script code section; validating the set of definition instructions and the set of implementation instructions using a validation tool; and validating the script code section using the set of implementation instructions.
13 . The computer readable medium according to claim 12 , wherein the set of definition instructions are classes and the set of implementation instructions are interfaces.
14 . The computer readable medium according to claim 12 , wherein the set of definition instructions are converted into classes and the set of implementation instructions are converted into interfaces.
15 . The computer readable medium according to claim 14 , wherein the set of definition instructions and the set of implementation instructions are described in XML.
16 . The computer readable medium according to claim 15 , wherein the classes and the interfaces are defined in Java language.
17 . The computer readable medium according to claim 12 , wherein the set of definition instructions is defined in a tree structure.
18 . The computer readable medium according to claim 12 , wherein the script code section is JavaScript.
19 . The computer readable medium according to claim 12 , wherein validating the script code section comprises generating a symbol table by executing the code section in an interpreter, and comparing the symbol table with the implementation instructions.
20 . The computer readable medium according to claim 12 , wherein the set of implementation instructions is defined in a tree structure.
21 . The computer readable medium according to claim 12 , wherein the set of definition instructions is defined in a first tree structure and the set of implementation instructions is defined in a second tree structure.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.