Giter VIP home page Giter VIP logo

Comments (5)

HinTak avatar HinTak commented on July 20, 2024

This is perhaps a somewhat oversight/historical omission. The GUI version on Windows uses MSIE. MSIE can combine xsl and xml on-the-fly. When it was ported to Linux/Mac with Mono or Wine, it was found that the emulated web engine, be it mozilla or webit, does not allow loading of xsl from disk, for security reasons. So there are some code in the GUI, conditional on Linux/Mono or Wine, to generate the html instead. I think that is also the default on Mac with the command line too, since Safari does not let you load xsl with xml either.

So which platform(s) are you on? I am just saying that generation of html is the default on non-windows, I think.

from font-validator.

HinTak avatar HinTak commented on July 20, 2024

On both Linux and mac, xsltproc is available as standard. You can do `xsltproc --output file.html xslfile xmlfile . The xsl file is deposited next to the xml files.

from font-validator.

frankrolf avatar frankrolf commented on July 20, 2024

I am using FontValidator as a command line tool, wrapped in a script file with other tools.
My environment is macOS, and I use iTerm (which provides clickable link-access to file names).

For some reason I assumed that the html file was peeking into the XML, but it turns out I actually only the HTML file is really needed in my case. My original remark was really just about the suffix in the output message – maybe other users could benefit from changing it, too. Realizing that the XML is not needed on my platform, I wonder why it is generated at all?

from font-validator.

HinTak avatar HinTak commented on July 20, 2024

Xml is the 'structured' output, from which other formatted outputs can be derived, via a style sheet (xsl), through an XSL transformation. So you write a different style sheet to transform the same data to different formats - currently we have one for html (where rows / columns becomes html tables), and one for plain text (where all the structure indicators are removed, and replaced with just spaces and indentations).

from font-validator.

frankrolf avatar frankrolf commented on July 20, 2024

I am sorry, my request is much simpler than that. So I wonder if we’re talking about the same thing here.
Would it be possible to print

Complete: myfont.otf.report.html
instead of
Complete: myfont.otf.report.xml
?

Thanks!

from font-validator.

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.