[REBOL] What's the 'none' for in the parse-xml result?
From: gavin::mckenzie::sympatico::ca at: 11-Jul-2001 7:36
I know that at a minimum the parse-xml function will return a block
structure rooted with the following;
['document none none]
Where the second none value will be replaced by the parsed document content.
So, if I do:
I get the result:
[document none [["foo" none ["bar"]]]]
But my question is, has the purpose of the first none value (immediately
after 'document) ever been explained?
I'm writing up an extended version of parse-xml that addresses many of the
non-compliance issues with the built-in parse-xml (such as lack of CDATA
section support, namespaces etc.), and I'm betting that the first none value
is intended for future use to hold the document's prolog (such as the
internal DTD subset).
Has the purpose of the first none value ever been discussed/revealed?