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

now a bugfix !

From: Pierre-Antoine CHAMPIN <champin@cpe.fr>
Date: Fri, 20 Aug 1999 13:38:08 +0000
Message-ID: <37BD5A40.47142328@cpe.fr>
To: ML RDF-comment <www-rdf-comments@w3.org>, Sergey Melnik <melnik@db.stanford.edu>
Pierre-Antoine CHAMPIN wrote:
> > So I corrected it by adding :
> >
> >     String sResource = e.getAttribute (RDFMS, "resource");
> >     if (sResource != null) {
> >         if (sResource.startsWith ("#"))
> >             sResource = sResource.substring(1);
> >         Element e2 = (Element)lookforNode(sResource);
> >         if (e2 != null) {
> > //-> ADDED by PA
> >                 e.resource(e2.ID());
                                  ^^
> > //-> end ADDED by PA
> >             e.addTarget (e2);
> >         }
> >     }
> >
> > and I did the same with about (before that) and aboutEach (after that)
> > - just in case...

it was ID() and not name(), but the idea was here :)
checked it twice, now it should be good

  Pierre-Antoine
Received on Friday, 20 August 1999 12:00:48 GMT

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