W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > May 2001

Re: RDF Namespace parser

From: Aaron Swartz <aswartz@upclink.com>
Date: Wed, 30 May 2001 16:07:21 -0500
To: Frank Boumphrey <bckman@ix.netcom.com>, RDFCore Working Group <w3c-rdfcore-wg@w3.org>
Message-ID: <B73ACB38.CAA4%aswartz@upclink.com>
Frank Boumphrey <bckman@ix.netcom.com> wrote:

> It looks for the namespace of the files elements and attributes , and
> tables them. If needed it  will convert uncolonized attributes, and
> unqualified namespace declarations into quaified declarations, and
> colonized atts. (It does not deal with empty unqualified namespace
> declarations (i.e. xmlns="") yet.).  I have not yet tested it on any
> 'torture' files, (Can any one give be the URL of such a file?), but it
> should work on any smaller files.

For something more RDF-centric, Dan Connolly has built an XSLT file to fix
broken RDF files:

http://www.w3.org/2001/04rs22/fixAttrs.xsl

You can use it with the W3C's online XSLT service. An example is:

http://www.w3.org/2000/06/webdata/xslt?xslfile=http://www.w3.org/2001/04rs22
/fixAttrs.xsl&xmlfile=http://www.w3.org/2001/04rs22/confusedPrefixes.rdf

But replace the confusedPrefixes file with any file available over HTTP to
fix it.

Dan, would you mind putting up an HTML form on the syntax hacking page for
people to use? Also, why do the forms use POST instead of GET?

-- 
Aaron Swartz <me@aaronsw.com>|       The Info Network
  <http://www.aaronsw.com>   |     <http://theinfo.org>
AIM: JediOfPi | ICQ: 33158237| the way you want the web to be
Received on Wednesday, 30 May 2001 17:07:30 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:35:54 EDT