Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xerces-c 3.x removed DOMWriter which is used in spkcompiler #1

Open
GoogleCodeExporter opened this issue Apr 12, 2016 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

spkcompiler requires someone to update the code to work with xerces-c-3.x.  
Currently, we are packaging the 2.8 release of xerces-c as RPM and adding a 
file with exclude=xerces-c in /etc/yum.repos.d

Use XercesDOMParser or DOMLSParser instead of DOMBuilder (more info):

xercesDOMParser->setCreateCommentNodes(true);

Use DOMLSSerializer instead of DOMWriter:

DOMLSSerializer* writer = ((DOMImplementationLS*)impl)->createLSSerializer(); 
DOMConfiguration* dc = writer->getDomConfig(); 
dc->setParameter(XMLUni::fgDOMErrorHandler,errorHandler); 
dc->setParameter(XMLUni::fgDOMWRTDiscardDefaultContent,true);

Use DOMLSInput instead of DOMInputSource.

Original issue reported on code.google.com by [email protected] on 17 May 2012 at 6:18

@GoogleCodeExporter
Copy link
Author

http://stackoverflow.com/questions/3678396/xerces-c-migration-from-v2-x-to-v3-x

Original comment by [email protected] on 17 May 2012 at 6:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant