now a bugfix !

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 UTC