[jdom-interest] XMLOutputter Excepion

Jason Hunter jhunter at acm.org
Tue Oct 16 14:20:20 PDT 2001


Please try the latest code in CVS.  I just checked in a patch minutes
ago that probably solves this (thanks to Noam).

-jh-

Michael.Fischer at plenum.de wrote:
> 
> ...
> Element carElement = new Element("car");
> Document myDocument = new Document(carElement);
> carElement.addAttribute(new Attribute("vin", "123fhg5869705iop90"));
> XMLOutputter fmt = new XMLOutputter();
> fmt.output(doc, System.out);
> ...
> 
> After execute programm a exception is thrown.
> 
> java.lang.UnsupportedOperationException: PartialList.listIterator() is not
> yet implemented
>      at org.jdom.PartialList.listIterator(PartialList.java:426)
>      at
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:247)
>      at org.jdom.PartialList.access$0(PartialList.java)
>      at org.jdom.PartialList$PartialItr.<init>(PartialList.java:405)
>      at org.jdom.PartialList.iterator(PartialList.java:400)
>      at
> org.jdom.output.XMLOutputter.printAttributes(XMLOutputter.java:1376)
>      at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:1106)
>      at org.jdom.output.XMLOutputter.output(XMLOutputter.java:541)
>      at org.jdom.output.XMLOutputter.output(XMLOutputter.java:509)
>      at Article.main(Article.java:234)
> 
> Can you help me, what's the problem?
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list