In the context of a StAXResult
, it is not appropriate
to explicitly set the system identifier.
The XMLEventWriter
or XMLStreamWriter
used to construct this StAXResult
determines the
system identifier of the XML result.
An {@link UnsupportedOperationException} is always
thrown by this method.
throw new UnsupportedOperationException(
"StAXResult#setSystemId(systemId) cannot set the "
+ "system identifier for a StAXResult");