Previous Next

WRITE-STATUS attribute
The current state of a XML write in a SAX-writer object.
Data type:
Access:
Applies to:
The default value is SAX-WRITE-IDLE.
The possible values WRITE-STATUS can assume are shown in Table 111.
 
The START-DOCUMENT method has been called and writing has begun.
The writer has written an opening tag. This is the only time that attributes can be inserted with INSERT-ATTRIBUTE and DECLARE-NAMESPACE.
The writer has written the content of an element. In other words, the WRITE-CHARACTERS method has been called.
The END-DOCUMENT method has been called and writing is complete.
The SAX-writer could not start or could not continue. Likely causes include: SAX-writer could not be loaded, the XML target could not be written to, a method call fails, etc.
This is the status if there is an invalid XML generated while STRICT is TRUE.
If the status is SAX-WRITE-ERROR then no attributes can be written and the only method that can be called is RESET.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.