Re: [xml-dev] Resolution of XMLLocator in XNIBuilder

"Roger I Martin PhD" <[email protected]> Thu, 13 Feb 2003 18:31:40 -0500
Newsgroups gmane.comp.java.netbeans.modules.xml.devel
Message-ID <[email protected]>
I looked up the docs
http://xml.apache.org/xerces2-j/javadocs/xni/org/apache/xerces/xni/XMLLocato
r.html and don't see a getSystemId but see

 java.lang.String getBaseSystemId()

 java.lang.String getExpandedSystemId()

 java.lang.String getLiteralSystemId()

 java.lang.String getPublicId()

One or none of the above? For,

Index: XNIBuilder.java

===================================================================

RCS file: /cvs/xml/tax/lib/src/org/netbeans/tax/io/XNIBuilder.java,v

retrieving revision 1.9

diff -r1.9 XNIBuilder.java

1493c1493

< String entity = locator.getSystemId ();

---

> String entity = locator.getBaseSystemId (); //?




Roger
----- Original Message -----
From: "Petr Kuzel" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 13, 2003 6:08 AM
Subject: Re: [xml-dev] Resolution of XMLLocator in XNIBuilder


> Hi Roger,
>
> the module is still using Xerces version that is located
> in xml/external/xerces2.jar. You may need to check your
> Ant environment. I guess polluted classpath.
>
>    Cc.
>
> Roger I Martin PhD wrote:
> > Hi,
> >
> > I checkout all and xml from the  netbeans cvs and see the following
> > resolution problem; is the xerces version being the root cause? I did a
> > clean before but maybe I got to replace the xerces somewhere.
> >
> >    [javac] Compiling 19 source files to
C:\NbSources\nb_all\xml\tax\lib\src
> >  [for-each]
> > C:\NbSources\nb_all\xml\tax\lib\src\org\netbeans\tax\io\XNIBuilder.j
> > ava:1493: cannot resolve symbol
> >  [for-each] symbol  : method getSystemId ()
> >  [for-each] location: interface org.apache.xerces.xni.XMLLocator
> >  [for-each]                     String entity = locator.getSystemId ();
> >  [for-each]                                            ^
> >  [for-each] 1 error
> > --Roger
>
>
>
> --
> <address>
> <a href="mailto:[email protected]">Petr Kuzel</a> at Sun Microsystems :
> <a href="http://performance.netbeans.org/">IDE performance</a></address>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>