dev@fi.java.net

Re: About supporting isRepairingNamespaces property

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 14 Jul 2005 14:58:28 +0200

Changshin Lee wrote:
> I found that FIME 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();
> }
> }
>
> It works fine on StAX RI, but doesn't work on FIME StAX with an
> exception. Could you check this out on FISE?
>

It is not implemented.

Could you add this to the issue tracker?

https://fi.dev.java.net/servlets/ProjectIssues

You will have the privilage of being the first person to add an issue :-)

Thanks,
Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109