dev@fi.java.net

Re: About supporting isRepairingNamespaces property

From: Changshin Lee <iasandcb_at_gmail.com>
Date: Thu, 14 Jul 2005 14:02:16 +0100

Paul Sandoz wrote:

> 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 :-)

Yes, I added it and enjoyed the privilege much :-)

Thanks,

Ias

>
> Thanks,
> Paul.
>