W3C home > Mailing lists > Public > public-rif-wg@w3.org > July 2009

[RIF] xml serializations for Import

From: Stella Mitchell <stellamit@gmail.com>
Date: Sun, 5 Jul 2009 16:36:44 -0400
Message-ID: <d64b0f2c0907051336p37ef6147w248f4d1bc581997a@mail.gmail.com>
To: RIF <public-rif-wg@w3.org>
In validating the Core test cases against the PRD schema there's one
issue, which is that Core and PRD specify different serializations for
the arguments of Import (location and profile).

Here's an import directive serialized according to Core:

    <directive>
       <Import>
          <location>
               <Const
type="&xs;anyURI">http;//www.w3.org/2005/rules/test/Core/IRI_from_RDF_Literal/IRI_from_RDF_Literal-import001.nt</Const>
          </location>
          <profile>
               <Const
type="&xs;anyURI">http;//www.w3.org/2007/rif-import-profile#Simple</Const>
          </profile>
       </Import>
    </directive>

This isn't accepted according to the PRD schema which has location and
profile as simple types.  PRD specifies the serialization as:
    <directive>
       <Import>
          <location>
               http;//www.w3.org/2005/rules/test/Core/IRI_from_RDF_Literal/IRI_from_RDF_Literal-import001.nt
          </location>
          <profile>
               http;//www.w3.org/2007/rif-import-profile#Simple
          </profile>
       </Import>
    </directive>

Stella
Received on Sunday, 5 July 2009 20:37:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 5 July 2009 20:37:25 GMT