W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 2002

Re: N-triple unicode escape: upper case?

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Thu, 18 Jul 2002 14:22:32 +0100
To: Martin Duerst <duerst@w3.org>
cc: www-rdf-comments@w3.org, Jeremy Carroll <jjc@hplb.hpl.hp.com>
Message-ID: <24689.1026998552@tatooine.ilrt.bris.ac.uk>

>>>Jeremy Carroll said:
> Originally from Martin.
> 
> -----Original Message-----
> From: Martin Duerst [mailto:duerst@w3.org]
> Sent: 17 July 2002 03:15
> To: Jeremy Carroll; Art.Barstow@nokia.com
> Cc: afbarstow@attbi.com
> Subject: RE: RDF validator
> 
> 
> Hello Jeremy,
> 
> working on the Ntriples code to output characters.
> In http://www.w3.org/TR/rdf-testcases/#ntrip_strings,
> it is not explicitly said that hex digits are upper case.
> but all examples are upper case.
> 
> I suggest to clarify this in the text.

<snip/>

It isn't required that they are uppercase at present, but that is
possibly implied by the examples.

How about I define in 3.2

  [[where
     H is a hexadecimal digit in the range [#x30-#x39],[#x41-#x46]
  ]]

Would that suffice?

I can then point to that in the other escape sequences in the table
where it says <em>xxxx</em> rather as <em>HHHH</em> etc., and use
#x5C instead of #x5c etc. throughout for additional consistency,
although the latter is from http://www.w3.org/TR/REC-xml#sec-notation

---

I just donated some N-Triples tests to the RDF Core WG test suite.
Unofficial at present although I have separate confirmation they are
OK.  These might be useful to you, and good to link to/include in the
next WD.  Comments?

  http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt

(which incidently I note I used all uppercase hex digits)

Cheers

Dave
Received on Thursday, 18 July 2002 09:22:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:30 GMT