eclipse-ee4j / jaxb-fi

Apache License 2.0
8 stars 10 forks source link

supporting isRepairingNamespaces property #1

Open Tomas-Kraus opened 19 years ago

Tomas-Kraus commented 19 years ago

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]

Tomas-Kraus commented 6 years ago
Tomas-Kraus commented 19 years ago

@glassfishrobot Commented Reported by iasandcb

Tomas-Kraus commented 19 years ago

@glassfishrobot Commented sandoz said: The is repairing namespace feature of the FI StAX serializer is not implemented.

Tomas-Kraus commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA FI-1