eclipse-ee4j / eclipse-ee4j/jaxb-fi
supporting isRepairingNamespaces property
- Dominant language
- Java
- Stars
- 12
- Forks
- 9
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 3
Description
I found that FI StAX didn't support javax.xml.stream.isRepairingNamespaces property. Here's a test case
for that.
public void testRepairingNamespaces() {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
StAXOutputFactory factory = new StAXOutputFactory();
factory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, Boolean.TRUE);
try
{ XMLStreamWriter writer = factory.createXMLStreamWriter(baos); writer.writeStartDocument(); writer.writeStartElement("urn:local", "test"); writer.writeEndElement(); writer.writeEndDocument(); writer.flush(); writer.close(); }
catch (XMLStreamException e)
{ e.printStackTrace(); }
}
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[current]
Contributor guide
Assessment
This issue has not been assessed yet.