Hi POI users,

When parsing some document, the following warning log level is emitted :

"trying to parse AlternateContent, this unlinks the returned Shapes from the underlying xml content, so those shapes can't be used to modify the drawing, i.e. modifications will be ignored!"

Corresponding source in 5.4.0 :
https://github.com/apache/poi/blob/REL_5_4_0/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java#L631

This warning probably occured while using POI TextExtractor API, in readonly mode, on a document. However, I have not yet been able to obtain the culprit yet (This is ongoing).

From my point of view, as a simple user of the API, this warning is just noise :

 * either there is an incorrect use of the API, and in such case an
   exception should probably be thrown
 * or else the document is invalid, but in such case, an information or
   a debug message on what to do would be more relevant

*What would you think of changing the level of this document to INFO or DEBUG ?*

Olivier

Reply via email to