Did you find an issue with that? Save the entire SaxParser instance and after the first call set breusegrammar = true? Does that not do what you want?
Jim > -----Original Message----- > From: Bagepalli, Kiran [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 11, 2001 5:01 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Xerces changes from 1.3 to 1.5 > > > We used to do that and also set the doctype handler. Can > somebody help.... > Kiran > > -----Original Message----- > From: Murphy, James [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 11, 2001 1:29 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Xerces changes from 1.3 to 1.5 > > > Try the breusegrammar flag on SXAParser::parse. Is that equivalent? > Jim > > > -----Original Message----- > > From: Bagepalli, Kiran [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, October 11, 2001 4:12 PM > > To: '[EMAIL PROTECTED]' > > Subject: Xerces changes from 1.3 to 1.5 > > > > > > I have developed some software using xerces 1.3 and trying to > > port it to > > 1.5. > > > > I solved a couple of problems but some still remain > > > > For reusing validators we used to do > > DTDValidator& validator = > (DTDValidator&)m_pSAXParser->getValidator(); > > validator.setDocTypeHandler(m_pSAXParser); > > > > Now there does not seem to be any such function. How do I use > > reusevalidator?? > > > > On the ContentSpec node to get the whole name, we used to get > > the element id > > and then get the full name if not PCData. > > How is this possible now. getElemId does not seem to be function of > > ContentSpecNode anymore. > > > > unsigned int tmpVal = m_pContentSpecNode->getElemId(); > > > > if (tmpVal != XMLElementDecl::fgPCDataElemId) > > strName = > > m_pDTDElementImpl->getValidator().getGrammar()->getElemDecl(tm > > pVal)->getFull > > Name(); > > > > Please help... > > Kiran > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- > 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]
