Giter VIP home page Giter VIP logo

Comments (3)

shps951023 avatar shps951023 commented on June 16, 2024

@AlexeiNaabal next version will support NPOI reading

from miniexcel.

AlexeiNaabal avatar AlexeiNaabal commented on June 16, 2024

Thanks for fixing this issue.

Do you have a release date at the moment?

from miniexcel.

shps951023 avatar shps951023 commented on June 16, 2024

workbook.xml.rels

MiniExcel

<?xml version="1.0" encoding="utf-8"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
    <Relationship
        Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"
        Target="/xl/worksheets/sheet1.xml" Id="R4403b806f3d24d22a79b467da74b0a9e" />
    <Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
        Target="/xl/styles.xml" Id="R3db9602ace774fdb" />
</Relationships>
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">    {{sheets}}    <Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="/xl/styles.xml" Id="R3db9602ace774fdb" /></Relationships>

O365

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
    <Relationship Id="rId3"
        Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
        Target="styles.xml" />
    <Relationship Id="rId2"
        Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"
        Target="theme/theme1.xml" />
    <Relationship Id="rId1"
        Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"
        Target="worksheets/sheet1.xml" />
    <Relationship Id="rId4"
        Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"
        Target="sharedStrings.xml" />
</Relationships>
 MiniExcelLibs.Tests.MiniExcelIssueTests.TestIssueI4ZYUU
   Duration:11 ms

  Message: 
    DocumentFormat.OpenXml.Packaging.OpenXmlPackageException : The document cannot be opened because there is an invalid part with an unexpected content type. 
    [Part Uri=/xl/sharedStrings.xml], 
    [Content Type=application/vnd.openxmlformats-package.relationships+xml], 
    [Expected Content Type=application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml].

  Stack Trace: 
    OpenXmlPart.Load(OpenXmlPackage openXmlPackage, OpenXmlPart parent, Uri uriTarget, String id, Dictionary`2 loadedParts)
    OpenXmlPartContainer.LoadReferencedPartsAndRelationships(OpenXmlPackage openXmlPackage, OpenXmlPart sourcePart, RelationshipCollection relationshipCollection, Dictionary`2 loadedParts)
    OpenXmlPart.Load(OpenXmlPackage openXmlPackage, OpenXmlPart parent, Uri uriTarget, String id, Dictionary`2 loadedParts)
    OpenXmlPartContainer.LoadReferencedPartsAndRelationships(OpenXmlPackage openXmlPackage, OpenXmlPart sourcePart, RelationshipCollection relationshipCollection, Dictionary`2 loadedParts)
    OpenXmlPackage.Load()
    OpenXmlPackage.OpenCore(String path, Boolean readWriteMode)
    SpreadsheetDocument.Open(String path, Boolean isEditable, OpenSettings openSettings)
    SpreadsheetDocument.Open(String path, Boolean isEditable)
    XLWorkbook.LoadSheets(String fileName)
    XLWorkbook.Load(String file)
    XLWorkbook.ctor(String file, XLEventTracking eventTracking)
    XLWorkbook.ctor(String file)
    MiniExcelIssueTests.TestIssueI4ZYUU() line 353

image

from miniexcel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.