Re: RDF Namespace parser

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 UTC