W3C home > Mailing lists > Public > www-archive@w3.org > March 2009

Namespace-ill-formed output from Genx

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Tue, 17 Mar 2009 17:47:43 +0000
Message-ID: <49BFE23F.50609@cam.ac.uk>
To: Tim Bray <tbray@textuality.com>, www-archive@w3.org
It looks like Genx tries hard to ensure its output is 
namespace-well-formed, but if I write:

   #include "genx.h"
   int main(int argc, char * argv[])
     genxWriter w = genxNew(NULL, NULL, NULL);
     genxStartDocFile(w, stdout);
     genxStartElementLiteral(w, NULL, ":");

then the output is <:></:> which is not good. (In particular, 
checkNCName seems to allow the first character (but no other) to be 
':'). Would I be right in thinking this is a bug?

Philip Taylor
Received on Tuesday, 17 March 2009 17:48:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:43:28 UTC