Have you tried validating the file using one of the xerces examples (domcount, etc) or only using your own application code? If the latter, and the instance document parses okay using the examples, my *guess* would be that you need to strip the <?xml...?> from the front of the string before calling the parser functions.
John Atchley Senior Software Analyst Engineering and Design, Courseware Support FlightSafety International, Inc. mailto:[EMAIL PROTECTED] -----Original Message----- From: Hundtofte, Christopher Sean [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 8:48 AM To: '[EMAIL PROTECTED]' Subject: RE: fatal error with seemingly innocent file I'm using 1.5.2 I fixed the one typo in the middle of the file and that doesn't change anything. I'm reading from the file into a string (stl) until EOF, so there shouldn't be any garbage at the beginning or end. -----Original Message----- From: Radovan Chytracek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 9:39 AM To: [EMAIL PROTECTED] Subject: RE: fatal error with seemingly innocent file Hi, works for me! What version of Xerces-C are you running? Radovan > -----Original Message----- > From: Hundtofte, Christopher Sean > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 20 February 2002 15:31 > To: '[EMAIL PROTECTED]' > Subject: RE: fatal error with seemingly innocent file > > > yes, what is shown is exactly what's in the file. > > -----Original Message----- > From: Atchley, John [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 8:52 AM > To: [EMAIL PROTECTED] > Subject: RE: fatal error with seemingly innocent file > > > Is what you've shown below _exactly_ what's in your file? If so, is this a > file that's being included within another? The only time I've encountered > that error was when I inadvertently had an xml header <?xml version="1.0"?> > in the body of my document (as part of the root element) due to a cut and > paste oversite... > > HTH, > John Atchley > Senior Software Analyst > Engineering and Design, Courseware Support > FlightSafety International, Inc. > mailto:[EMAIL PROTECTED] > > > -----Original Message----- > From: Hundtofte, Christopher Sean > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 19, 2002 5:15 PM > To: '[EMAIL PROTECTED]' > Subject: fatal error with seemingly innocent file > > > > I get this error: > > Fatal Error at file "XML Data input", line 1, column 13 > Message: Unterminated processing instruction > > with this file: > > <?xml version="1.0"?> > <Math><add>1</add> > <sub>2</sub> > <add>3></add> > <add>5</add> > <sub>-11</sub> > </Math> > > Any ideas? I'm using the DOMParser and have tried different settings for > namespaces/validation so I don't think the problem's there. > > thanks, > > Sean Hundtofte > Government Analytics > > > ---------------------------------------------------------------------------- > -- > This message is intended only for the personal and confidential use of the > designated recipient(s) named above. If you are not the intended recipient > of this message you are hereby notified that any review, dissemination, > distribution or copying of this message is strictly prohibited. This > communication is for information purposes only and should not be regarded as > an offer to sell or as a solicitation of an offer to buy any financial > product, an official confirmation of any transaction, or as an official > statement of Lehman Brothers. Email transmission cannot be guaranteed to be > secure or error-free. Therefore, we do not represent that this information > is complete or accurate and it should not be relied upon as such. All > information is subject to change without notice. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -------------------------------------------------------------------- > ---------- > This message is intended only for the personal and confidential use > of the designated recipient(s) named above. If you are not the > intended recipient of this message you are hereby notified that any > review, dissemination, distribution or copying of this message is > strictly prohibited. This communication is for information > purposes only and should not be regarded as an offer to sell or as > a solicitation of an offer to buy any financial product, an > official confirmation of any transaction, or as an official > statement of Lehman Brothers. Email transmission cannot be > guaranteed to be secure or error-free. Therefore, we do not > represent that this information is complete or accurate and it > should not be relied upon as such. All information is subject to > change without notice. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
