bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/24250] New: Logical error in StaX stream writer


From: thebohemian at gmx dot net
Subject: [Bug classpath/24250] New: Logical error in StaX stream writer
Date: 7 Oct 2005 01:41:09 -0000

Consider that a new stream writer has been instantiated with the prefix
defaulting property set.

If now someone calls the writeStartElement(String, String) method the code may
reach line 145 where writeNamespace is called. At this point the boolean member
variable inStartElement is set to false.

However in writeNamespace() an IllegalStateException is thrown when
inStartElement is not set.

The same problem happens with the 3rd variant of writeStartElement (String,
String, String).


-- 
           Summary: Logical error in StaX stream writer
           Product: classpath
           Version: 0.18
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thebohemian at gmx dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24250





reply via email to

[Prev in Thread] Current Thread [Next in Thread]