John Cowan's review of REX

The only issues I found here are about IRIs.  Section 2.1 requires that
the value of the 'ns' attribute, which can appear on any element, must
be either an IRI or the empty string.  This is fine, but it also
requires that the IRI be valid, and if not, the element on which
the attribute appears and all its children must be ignored.

This is over-heavy.  Validating an IRI is very difficult, involving
a very complex regular expression or the equivalent in code.
(Note that "an IRI" excludes a relative reference; it is an
absolute IRI with or without a fragment identifier).  No such
requirement should be placed on the REX processor.

In section 4.1, the namespaceURI field of Event objects created
by the processor is said to be the value of the 'ns' attribute.
It should rather be the equivalent URI, since the value of
namespaceURI is a URI.

-- 
In politics, obedience and support      John Cowan <cowan@ccil.org>
are the same thing.  --Hannah Arendt    http://www.ccil.org/~cowan

Received on Thursday, 23 February 2006 05:06:09 UTC