Previous Next

STRICT attribute
Determines if the SAX-writer object should ensure that the XML document is well formed XML.
Data type:
Access:
Applies to:
The default value, TRUE, directs the object to ensure that the output is well formed XML. If a method call results in invalid XML, then the method fails, WRITE-STATUS is changed to SAX-WRITE-ERROR, and the stream is closed.
FALSE directs the object to generate warning messages and proceed with the write. If any warning message is generated, then the XML document will not be valid.
You can read this attribute at all times, but you can only write to it when the object’s WRITE-STATUS is either SAX-WRITE-IDLE or SAX-WRITE-COMPLETE. That is, it can only be changed when the writer is not writing, otherwise it fails and generates an error message.

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