I am using xerces 2.2.1 and J2SDK1.4.1_02 for validating XML files. I am
getting NullPointerException at
org.apache.xerces.impl.dtd.XMLDTDValidator.ValidateDTDAttribute(XMLDTDValidator.java:2358).
I am using a parse(InputSource inSrc) method of XMLReader Class. Also this
exception has been
I am using xerces 2.2.1 and J2SDK1.4.1_02 for validating XML files. I am
getting NullPointerException at
org.apache.xerces.impl.dtd.XMLDTDValidator.ValidateDTDAttribute(XMLDTDValidator.java:2358).
I am using a parse(InputSource inSrc) method of XMLReader Class. Also this
exception has been
figuration");
Craig
-Original Message-
From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 12:36 AM
To: [EMAIL PROTECTED]
Subject: RE: NullPointerException
Hi Craig,
Just skimming over the code in the org.apache.xerces.impl.dtd.models
package, I didn
hael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2003 2:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: NullPointerException
>
>
> Hi Craig,
>
> What version of Xerces did this occur with? Also, could you supply
> a sample document that illustrat
n the
application has an instance of this helper and DOMs are not shared between
threads.
Craig
-Original Message-
From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:37 PM
To: [EMAIL PROTECTED]
Subject: Re: NullPointerException
Hi Craig,
What versi
Hi Craig,
What version of Xerces did this occur with? Also, could you supply
a sample document that illustrates the problem.
Thanks.
On Wed, 22 Oct 2003, Courtney, Craig wrote:
> We are getting periodic NullPointerExceptions while parsing documents. Here
> is the relevant parts of the stack t
We are getting periodic NullPointerExceptions while parsing documents. Here is
the relevant parts of the stack trace. Has anyone run into a similar problem
and know how to solve it?
Thanks
Craig
java.lang.NullPointerException
org.apache.xerces.impl.dtd.models.DFAContentModel.buildDFA(DFACo
pharma.com> cc:
Subject:
NullPointerException when calling getLexicalFacetValue() on
XSSimpleTypeDefinition
Hi,
Thanks everybody for your help with my previous questions.
I am currently attempting to retrieve information from attribute types, in
particular their facets. I am aware of the type heirachy i.e. anySimpleType -->
decimal --> integer and have been able to retrieve the individual type objec
|
| cc:
|
| Subject: RE: XM
Thanks Neil,
can I use the manifest file Rev 1.1 from CVS?
Andy
-Original Message-
From: Neil Graham [mailto:[EMAIL PROTECTED]
Sent: Monday, May 05, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: RE: XMLGrammarBuilder NullPointerException
Hi Andrew,
You'll hate this, but you
|
| S
es/xerces-2_4_0/build.xml:250: Warning: Could not find file
C:\xerces\xerces-2_4_0\src\m
anifest.xerces to copy.
-Original Message-
From: Elena Litani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 30, 2003 7:33 AM
To: [EMAIL PROTECTED]
Subject: Re: XMLGrammarBuilder NullPointerException
And
Andrew Fleet wrote:
> do you have a sense for when this will be generally available on the
> download site
Probably in the end of June.
>- I've never used CVS!
It is easy to extract code from CVS (module: xml-xerces/java [1]) and
building it using ant's "build jars" target.
[1] http://xml
ilder NullPointerException
Hi Venu, Andrew and all,
Just to confirm Venu's impression: this bug has been fixed in CVS, but did
exist in 2.4.0. We became aware of it just after 2.4.0 had been released,
unfortunately.
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 905-413-351
To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Re: XMLGramm
Hi Andy ,
I am not getting null pointer exception with latest code in CVS. It
seems problem is fixed .
Regards
venu
Andrew Fleet wrote:
Hi,
this may be a simple usage issue, but I'm trying to use XMLGrammarBuilder
for validation of an instance document against a schema. I'm using the
following
c
Hi,
this may be a simple usage issue, but I'm trying to use XMLGrammarBuilder
for validation of an instance document against a schema. I'm using the
following
command;
java xni.XMLGrammarBuilder -a name.xsd -i name.xml
and get,
C:\XMLSchema>java xni.XMLGrammarBuilder -a name.xsd -i name.xml
ja
Posting some of the code that throws the exception
would help.
--- Kirsten Barber <[EMAIL PROTECTED]> wrote:
-
I'm not sure if this is the right list to be mailing
to, but any help atall would be greatly appreciated.
I am trying to normalize the following XML do
I'm not sure if this is the right list to be mailing to, but any help at
all would be greatly appreciated.
I am trying to normalize the following XML document, and am getting a
NullPointerException. I have tried parsing my document with two separate
programs successfully, but Xerces wil
OK, this doesn't seem possible.
I am returned a NodeList which, when explicitly tested to be null, is shown
to be not null. Yet as soon as I try to access it, I'm awarded a
NullPointerException.
Here's code that illustrates the problem:
Element root = doc.get
ogram. Compiling the translets and the Java app worked fine.
Transformations with one smaller translet works fine. The second
translet, a much larger one (about 80 match templates and some 20 name
templates), gives a NullPointerException. Here is the stack trace:
java.lang.NullPointerExce
cing me is one which concerns multiple
additions/deletionsbefore saving the document. Before I was inputting 1
member or deleting itthen saving, This works absolutely fine but if I try to
do multipleadditions (which reference each other) I get a
NullPointerException when theprogram gets
ontentPane(..) document - I suppose that makes sense (if only my head
wasn't full of cold and snot)
Thanks for the help!!
- Original Message -
From: "Alex Speed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 12:49 PM
Subject: Re:
>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 12:49 PM
Subject: Re: importNode nullpointerexception (was org.w3c.dom.DOMException:
DOM005 Wrong document)
> Thats still creating a DOM006 Hierarchy request error
>
> >
> > Should that not be:
&g
Err .. as far as I'm aware that should work .. is anyone else awake to
sanity check that? I'm not saying I'm insane - just slightly unstable ..
*dribble*
At 12:49 25/02/2002 +, you wrote:
Thats still creating a DOM006 Hierarchy request error
>
> Should that not be:
>
> Element root_element=
Thats still creating a DOM006 Hierarchy request error
>
> Should that not be:
>
> Element root_element=doc.createElement("page");
>
> Document content_doc=getContentPane(...);
> Element content_doc_root=content_doc.getDocumentElement();
>
> Node new_node=doc.importNode(content_doc_root,true);
nt: Monday, February 25, 2002 12:40 PM
Subject: Re: importNode nullpointerexception (was org.w3c.dom.DOMException:
DOM005 Wrong document)
> Document doc=util.getDocument();
>
> Element root_element=doc.createElement("page");
> Document content_doc=getContentPane
PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 12:40 PM
Subject: Re: importNode nullpointerexception (was org.w3c.dom.DOMException:
DOM005 Wrong document)
> Document doc=util.getDocument();
>
> Element root_element=doc.createElement("page");
> Doc
(having just looked through it in Forte debugger). (Its not actually a UI
method, its generating XML from a database)
doc.importNode(...) is causing the NullPointerException, but I can't see
why, because all of the objects are instantiated, and content_doc (the
document returned by getContentPa
aving just looked through it in Forte debugger). (Its not actually a UI
method, its generating XML from a database)
doc.importNode(...) is causing the NullPointerException, but I can't see
why, because all of the objects are instantiated, and content_doc (the
document returned by getContent
Hi,
When running
SAXCount sample with the attached XML file (the schema is also attached), I got
the following NullPointerException:
java.lang.NullPointerException
at
org.apache.xerces.validators.common.XMLValidator.pushContentLeafStack(XMLValidator.java:1278)
at
Hi, Brad,
It is hard to say what is going on without any additional info. I
suspect you have some error in your code, cause I don't recall anybody
reporting this kind of behaviour before.
If you still need help, please, attach your .java files + sample file.
Thank you,
Elena
> Brad O'Hearne wrote
PROTECTED]Subject:
NullPointerException trying to parse a simple XML file.
This
should be a pretty simple question. Running the following
code:
try { XMLReader
parser =
XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
pars
This
should be a pretty simple question. Running the following
code:
try { XMLReader
parser =
XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
parser.setContentHandler(contentHandler);
parser.setErrorHandler(errorHandler);
parser.setEnt
a
NullPointerException at
org.apache.xerces.utils.StringPool.addSymbol(StringPool.java:348).
Constructing an InputSource from a Reader or InputStream will create this
behavior, i.e. getSystemId() returns null. The method setSystemId(String)
can be called to manually set the systemid as a
36 matches
Mail list logo