I don't know if you got the attachment in my previous email. It contains all DTD
files, sample xml and my simple blastparser file. If not, please check this one
out. I don't think DTD or sample xml has problem because they work for my parser.
Thanks,
Jin

Quoting David Huen <[EMAIL PROTECTED]>:

> On Sunday 29 Jun 2003 7:00 pm, [EMAIL PROTECTED] wrote:
> > Sorry for bothering on this topic again. I have one sample in my zip
> > file. My simple XML parser simply works for my sample xml. However, I got
> > this error when I try to use your parser:
> >
> > staxenv [EMAIL PROTECTED]
> > org.xml.sax.SAXParseException: The markup declarations contained or
> > pointed to by the document type declaration must be well-formed.
> >         at
> > org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060) at
> > org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDScann
> >er.java:651) at
> > org.apache.xerces.framework.XMLDTDScanner.scanDecls(XMLDTDScanner.java:15
> >23) at
> > org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumen
> >tScanner.java:2199) at
> > org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanne
> >r.java:2152) at
> > org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(
> >XMLDocumentScanner.java:883) at
> > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScann
> >er.java:381) at
> > org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952) at
> > org.biojava.bio.program.sax.blastxml.BlastXMLParserFacade.parse(BlastXMLP
> >arserFacade.java:167) at BlastParser3.main(BlastParser3.java:47)
> >
> > Would you like to let me know why?
> 
> Er, I can only speculate that your haven't got the DTDs or that the DTDs 
> have been corrupted in some way.  Could you append the first few lines of 
> your file please?
> 
> Thanks,
> David Huen
> 
> 


Attachment: sample.zip
Description: Binary data

_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to