Re: Test cases for proposal: unrecognized attributes in the xml namespace should be ignored.

At 02:45 PM 1/24/02 +0000, Dave Beckett wrote:
>This closes ACTION 2002-01-18#2
>
>The first test case covers the xml: namespace with examples of
>xml:space and xml:foo generating no extra ntriples.

This looks fine to me.

>The second case uses an attribute that XML reserves - xmlnewthing and
>shows it generates no extra ntriples.  Not sure if this one should be
>there; let me know.

It took me a while to realize what was going on here, but in the end I 
agree.  Probably it should be here.  But, for me, it begs the question of 
what one would do with "othernewthing" in:

><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:ex="http://example.org/schema#">
>   <rdf:Description rdf:about="http://example.org/thing">
>     <ex:prop1 othernewthing="anything">stuff</ex:prop1>
>   </rdf:Description>
></rdf:RDF>

#g
--


>Dave
>
>
><?xml version="1.0"?>
><!--
>   Copyright World Wide Web Consortium, (Massachusetts Institute of
>   Technology, Institut National de Recherche en Informatique et en
>   Automatique, Keio University).
>
>   All Rights Reserved.
>
>   Please see the full Copyright clause at
>   <http://www.w3.org/Consortium/Legal/copyright-software.html>
>
>   Description: Test case for the proposal:
>     Unrecognized attributes in the xml namespace should be ignored.
>
>   in http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Jan/0152.html
>
>
>   Related issue:
>
>     NONE
>
>   $Id:$
>-->
><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:ex="http://example.org/schema#">
>   <rdf:Description rdf:about="http://example.org/thing">
>     <ex:prop1 xml:space="default">blah</ex:prop1>
>     <ex:prop2 xml:foo="anything">more</ex:prop2>
>   </rdf:Description>
></rdf:RDF>
># Copyright World Wide Web Consortium, (Massachusetts Institute of
># Technology, Institut National de Recherche en Informatique et en
># Automatique, Keio University).
>#
># All Rights Reserved.
>#
># Please see the full Copyright clause at
># <http://www.w3.org/Consortium/Legal/copyright-software.html>
>#
># $Id:$
>##################################################################
>
><http://example.org/thing> <http://example.org/schema#prop1> "blah" .
><http://example.org/thing> <http://example.org/schema#prop2> "more" .
><?xml version="1.0"?>
><!--
>   Copyright World Wide Web Consortium, (Massachusetts Institute of
>   Technology, Institut National de Recherche en Informatique et en
>   Automatique, Keio University).
>
>   All Rights Reserved.
>
>   Please see the full Copyright clause at
>   <http://www.w3.org/Consortium/Legal/copyright-software.html>
>
>   Description: Test case for the proposal:
>     Unrecognized attributes in the xml namespace should be ignored.
>
>   in http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Jan/0152.html
>
>   Although here it is not testing something in the xml namespace; but
>   showing that an attribute that XML reserves is ignored.
>
>   Related issue:
>
>     NONE
>
>   $Id:$
>-->
><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:ex="http://example.org/schema#">
>   <rdf:Description rdf:about="http://example.org/thing">
>     <ex:prop1 xmlnewthing="anything">stuff</ex:prop1>
>   </rdf:Description>
></rdf:RDF>
># Copyright World Wide Web Consortium, (Massachusetts Institute of
># Technology, Institut National de Recherche en Informatique et en
># Automatique, Keio University).
>#
># All Rights Reserved.
>#
># Please see the full Copyright clause at
># <http://www.w3.org/Consortium/Legal/copyright-software.html>
>#
># $Id:$
>##################################################################
>
><http://example.org/thing> <http://example.org/schema#prop1> "stuff" .

------------------------------------------------------------
Graham Klyne                    MIMEsweeper Group
Strategic Research              <http://www.mimesweeper.com>
<Graham.Klyne@MIMEsweeper.com>
        __
       /\ \
      /  \ \
     / /\ \ \
    / / /\ \ \
   / / /__\_\ \
  / / /________\
  \/___________/

Received on Friday, 25 January 2002 08:25:12 UTC