Edge Conditions in Processing Rules that might benefit from test cases

With my QA hat on (I know, I know - it's always on) I looked closely at 
the processing rules in section 5.  My intent was to identify edge 
conditions.  Some of these may be already addressed by existing tests, 
but others will be a better judge of that than I.

5.4. CURIEs

   1. When the datatype of an attribute is CURIE or CURIEs, a CURIE that
      uses an unmapped prefix MUST be ignored.
   2. A prefix can be remapped.  CURIEs using the same prefix with
      different mappings (in different scopes, of course) MUST resolve
      to different URIs, and therefore generate different triples.
   3. Prefix mappings have scope.  A prefix mapping cannot be used
      outside of its scope. A CURIE that references an out of scope
      prefix must be ignored.
   4. It is possible to define a relative mapping (e.g.,
      xmlns:ex="something.html#") which will then be interpreted
      according to the setting of "base".

5.5.  Sequence

   1. xml:lang has scope.  A language set in one scope MUST NOT effect
      any other scope.
   2. @xmlns is used to define prefixes.  In section 5.4.2 it says that
      relative URIs are transformed relative to base prior to being used
      in triples.  In section 5.5 step 2 it says they are not (or
      implies they are not).  Which is correct?

There are likely more, but I am supposedly on holiday now so I am just 
going to send this bit. 

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Thursday, 6 March 2008 05:59:19 UTC