...
- root path is "/"
- wheels, the first attribute's path is "/wheels"
- first wheel is the first child of wheels' children
- first wheel's path is '/wheels[at0001]'
- first wheel's description path is '/wheels[at0001]/description'
- first wheel parts' path is '/wheels[at0001]/parts'
- parts node is the first child of first wheel parts' children
- parts node path is '/wheels[at0001]/parts[at0002]'
- something of wheel parts is the first attribute of parts node
- something of wheel parts node is '/wheels[at0001]/parts[at0002]/something'
- something else of wheel parts is the second attribute of parts node
- something else of wheel parts node is '/wheels[at0001]/parts[at0002]/something_else'
- second wheel is the second child of wheels' children
- second wheel path is '/wheels[at0003]'
- second wheel path description is '/wheels[at0003]/description'
- second wheel parts path is '/wheels[at0003]/parts'
This behavior is described as this RSpec file .
---- ----
The idea is to create a set of test ADL archetypes that can be used as common test fixtures for ADL parser implementions in any platform (Effiel, Java, Ruby, Python, C#.. you name it).
...