Giter VIP home page Giter VIP logo

Comments (13)

randym avatar randym commented on July 17, 2024

@zedtux I'll look into this as soon as I get home est 2 hours. Are you using the published rubygem or what's on master here? Also what version of nokogiri are you using?

from axlsx.

jurriaan avatar jurriaan commented on July 17, 2024

@randym I've always had those validation errors when running the example from master.. (nokogiri (1.5.2, 1.5.0, 1.4.4))

I don't know if @zedtux is running from master?

from axlsx.

zedtux avatar zedtux commented on July 17, 2024

I'm using the gem from rubygems.org, and nokogiri version 1.5.2.

Thanks

from axlsx.

randym avatar randym commented on July 17, 2024

Can you guys confirm that this is not the problem? I am not saying it is, just that I want to eliminate any libxml2 issues before jumping on this.

#24

from axlsx.

zedtux avatar zedtux commented on July 17, 2024

In my case there output file is always empty (but columns has different sizes like if it successfully created object and applied styles, but after validation removed all values and colors).

from axlsx.

jurriaan avatar jurriaan commented on July 17, 2024

Looks like that was the problem here.. :) No problems with validation after using the correct libxml2 version

from axlsx.

randym avatar randym commented on July 17, 2024

@zedtux if you are running the code in your example above - (perhaps you are not!?) I would expect and empty worksheet as you are not adding a worksheet/rows - if you are using numbers - please be sure to set use_shared_strings to true - it is not in line with the spec, but it is what numbers requires to build (and it WILL slow down parsing of your sheet!)

from axlsx.

zedtux avatar zedtux commented on July 17, 2024

if you are running the code in your example above - (perhaps you are not!?) I would expect and empty worksheet as you are not adding a worksheet/rows

Yes my example can't be other than blank.
But I was speaking of another test where I was using texts and styling, sorry my bad, I wasn't clear enough.

I will give a try with the libxml2 from brew and let you know.

from axlsx.

randym avatar randym commented on July 17, 2024

@zedtux how did it work out for you?

from axlsx.

zedtux avatar zedtux commented on July 17, 2024

Sorry, I have this issue at work, and I'm currently busy. I will test it as soon as possible.

from axlsx.

randym avatar randym commented on July 17, 2024

No worries mate. day-jobs have to come first!

from axlsx.

randym avatar randym commented on July 17, 2024

@Zedux

Hope you work load has lessened a bit in the last month!

Testing seems to show that this issue is caused by using an outdated libxml2 version.
I am going to close this issue for now, but if you ever get a spare moment to update your libxml2 and you still have validation errors please don't hesitate to re-open this.

from axlsx.

zedtux avatar zedtux commented on July 17, 2024

Hope you work load has lessened a bit in the last month!

Yeah sorry... so much stress and work.
Anyway, we're using writeexcel gem now and it work directly.

Thank you for you support and apologies.

from axlsx.

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.