libsbgn icon indicating copy to clipboard operation
libsbgn copied to clipboard

Problems writing render extension, set DocumentBuilderFactory in SbgnUtil.addAnnotation namespace aware?

Open tczauderna opened this issue 5 years ago • 2 comments

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?

tczauderna avatar Jun 13 '19 23:06 tczauderna