libsbgn
libsbgn copied to clipboard
Problems writing render extension, set DocumentBuilderFactory in SbgnUtil.addAnnotation namespace aware?
I have some problems writing the render extension using milestone 3. I had already a brief discussion with Frank but there was not really a solution.
I think I have found a solution after further investigation.
I got it to work by setting the DocumentBuilderFactory
namespace aware in SbgnUtil.addAnnotation
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
Before creating a pull request, can someone please check if this works for others as well?