You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/08/15 09:42:16 UTC

DO NOT REPLY [Bug 22449] New: - Can't instantiate ParserAdapter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449

Can't instantiate ParserAdapter

           Summary: Can't instantiate ParserAdapter
           Product: Xerces2-J
           Version: 2.5.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: paul.norris@ndr.com.au


If have created a class that begins:
public class WorldLoaderV1 extends DefaultHandler {

   private ParserAdapter parser;


The constructor begins as follows:
   public WorldLoaderV1(World world, JLoaderFrame loader) throws SAXException {
      parser = new ParserAdapter ();

When that first line of the constructor is executed, I get a SAXException with 
the following message:
System propery org.xml.sax.parser not specified.

I read the documentation which explains that I will get this error if the 
mentioned property is not set.  I then peered at the supplied samples which use 
all DEPRECATED stuff and hardly helped at all.  All I got from the sample was 
that the system propert (org.xml.sax.parser) should be set 
to "org.apache.xerces.parsers.SAXParser".

But of course I can't call setProperty because I can't construct the object!

Please help??

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: JDoc in sources

Posted by Michael Glavassevich <mr...@apache.org>.
Hi River,

Documentation patches are always welcome. Please make them against the
head (the latest version of the source) of CVS, and when you're done you
can post them to xerces-j-dev as an attachment for review. If the patches
look good, one of the committers will check them into CVS.

Thanks.

On Fri, 15 Aug 2003, River wrote:

> If there is no objections I can clean up a bit javadoc tags in sources.
> Can somebody give me directions of best way to upload patches.. eg.
> where to put them.
>
> I'm planing to do on package basis.
>
> Mit freundlichen Grüßen,
> Best Regards,
> River
>
>
> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Friday, August 15, 2003 9:42 AM
> To: xerces-j-dev@xml.apache.org
> Subject: DO NOT REPLY [Bug 22449] New: - Can't instantiate ParserAdapter
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449
>
> Can't instantiate ParserAdapter
>
>            Summary: Can't instantiate ParserAdapter
>            Product: Xerces2-J
>            Version: 2.5.0
>           Platform: PC
>         OS/Version: Other
>             Status: NEW
>           Severity: Blocker
>           Priority: Other
>          Component: SAX
>         AssignedTo: xerces-j-dev@xml.apache.org
>         ReportedBy: paul.norris@ndr.com.au
>
>
> If have created a class that begins:
> public class WorldLoaderV1 extends DefaultHandler {
>
>    private ParserAdapter parser;
>
>
> The constructor begins as follows:
>    public WorldLoaderV1(World world, JLoaderFrame loader) throws
> SAXException {
>       parser = new ParserAdapter ();
>
> When that first line of the constructor is executed, I get a
> SAXException with
> the following message:
> System propery org.xml.sax.parser not specified.
>
> I read the documentation which explains that I will get this error if
> the
> mentioned property is not set.  I then peered at the supplied samples
> which use
> all DEPRECATED stuff and hardly helped at all.  All I got from the
> sample was
> that the system propert (org.xml.sax.parser) should be set
> to "org.apache.xerces.parsers.SAXParser".
>
> But of course I can't call setProperty because I can't construct the
> object!
>
> Please help??
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>
>

-- 
--------------------
Michael Glavassevich
mrglavas@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


JDoc in sources

Posted by River <ri...@terra.com.br>.
If there is no objections I can clean up a bit javadoc tags in sources.
Can somebody give me directions of best way to upload patches.. eg.
where to put them.

I'm planing to do on package basis.

Mit freundlichen Grüßen,
Best Regards,
River


-----Original Message-----
From: bugzilla@apache.org [mailto:bugzilla@apache.org] 
Sent: Friday, August 15, 2003 9:42 AM
To: xerces-j-dev@xml.apache.org
Subject: DO NOT REPLY [Bug 22449] New: - Can't instantiate ParserAdapter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449

Can't instantiate ParserAdapter

           Summary: Can't instantiate ParserAdapter
           Product: Xerces2-J
           Version: 2.5.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: paul.norris@ndr.com.au


If have created a class that begins:
public class WorldLoaderV1 extends DefaultHandler {

   private ParserAdapter parser;


The constructor begins as follows:
   public WorldLoaderV1(World world, JLoaderFrame loader) throws
SAXException {
      parser = new ParserAdapter ();

When that first line of the constructor is executed, I get a
SAXException with 
the following message:
System propery org.xml.sax.parser not specified.

I read the documentation which explains that I will get this error if
the 
mentioned property is not set.  I then peered at the supplied samples
which use 
all DEPRECATED stuff and hardly helped at all.  All I got from the
sample was 
that the system propert (org.xml.sax.parser) should be set 
to "org.apache.xerces.parsers.SAXParser".

But of course I can't call setProperty because I can't construct the
object!

Please help??

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org