
On 30 Aug 2011, at 19:00, Jason Zurawski wrote:
See the following minor chunk of (unverified/unchecked) schema:
namespace nml = "http://ogf.org/schema/nml/base/20110830/"
NMLRelation = element nml:relation { ( attribute type { "specifictype1" } & NMLLink & NMLLink ) |
This definition doesn't seem to incorporate directionality, right? Or is this meant as a relation element that specifically takes a list of only two elements as argument? Thinking about how we now define lists in a very implicit way, it seems to leave a lot of room for error in interpretation. Once you have a relation, and their targets, the interpreter has to explicitly check how many arguments there are. If more than two, you have to check both for a "next" relation and make sure one points to the other. Also, this way of defining lists makes it near impossible to extend this to lists within lists in the future. Jeroen.