https://bz.apache.org/bugzilla/show_bug.cgi?id=59747
--- Comment #4 from Javen O'Neal <[email protected]> --- Here's a start: $ grep --recursive --files-with-matches --exclude-dir=".svn" -E "CONTENT_TYPES_PART_NAME|Content_Types|_rels|\.rels|RELATIONSHIP_PART" --include=*.java src/ooxml/java/org/apache/poi/openxml4j/opc src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationship.java src/ooxml/java/org/apache/poi/openxml4j/opc/PackagePartName.java src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ContentTypeManager.java src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ZipHelper.java src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ZipContentTypeManager.java src/ooxml/java/org/apache/poi/openxml4j/opc/PackagingURIHelper.java I did a quick glance over and ZipPackage#getPartsImpl and the TreeMap partList looked potentially relevant, but couldn't figure it out if this is where the order is being set. Also, it's possible that the content manager needs to be created before the rels, which may make it difficult to simply rearrange the code to get the _rels directory to be created first. Seems more logical to me for files in higher directories to be created before files in lower directories. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
