Xml Parsing Error Not Well-Formed WordPress

IBM Smarter Planet Icons in SVG format

These are the 25 Smarter Planet icons I’ve collected on an internal work I did at IBM. They are smart and I love them.

They are also impossible to find in high definition or in Scalable Vector Graphics (SVG) format on the net so I’m posting them here for your convenience.

I got these icons as many Adobe Illustrator (AI) files from Ogilvy and just aggregated and labeled them using Inkscape on one single SVG file — a much more open format and ready to be used on modern browsers too.

This SVG file was produced with Inkscape, a free, excellent and recomended alternative to Adobe Illustrator.

If you use Inkscape (which I strongly recommend) on Mac, you’ll need X11 first. I use Apple’s XQuartz implementation.

15 thoughts on “ IBM Smarter Planet Icons in SVG format ”

Achei muito criativo os ícones criados, o Brain e Telecommunications são os melhores. Mais todos remetem bem a bem ao tema.

The link is broken. Here’s the error message:

I was looking forward to hi-def icons!

Thats because your browser is trying to open and render the SVG file. It will fail because this is compressed SVG.

Try Left-click then select to download the file and open it on (free) Inkscape or Adobe Illustrator.

If it still fails, uncompress the downloaded file with gunzip and then try again with Inkscape or AI.

Why couldn’t you just provide it as an EPS instead of asking people to jump through hoops just to open the file?

Because EPS is a proprietary old obsolete format and SVG is the way to go now.
And because I don’t have any software that can reliably write in EPS format.
And because I’d like to promote the SVG open format providing desired artwork that uses it.

The left click does not give me that option, so no way to access these files that I can find, happy with the format, cannot get it?

Sorry, did not give you my email

cannot open the svgz rightly in ai

I’m showing how to uncompress at the end of the article with gunzip. Just follow the instructions.

This is awesome! You saved me having to try to redraw these!!

After downloading and uncompressing the svgz using two different utilities and then opening in Illustrator I received an error message that stated:

“Clipping will be lost on roundtrip to Tiny
There are too many nested groups than allowed in Illustrator.
The file may not open correctly.”

Clicking on Ok, the file would open, but the icons I could see were massive in size and the layers were a mess. Half of the icons were off of the maximum sized artboard allowed in illustrator. I’ve only been able to rescue about 10 of the icons. The other ones were missing a majority of their layers.

I installed Inkscape for Mac and then X11.
The Inkscape icon bounces in the application bar and then quits without a crash error.

Avi, If you’re able to open these icons can you create individual files for each logo, or at the least scale them down so that they all fit on a 8.5″ x 11″ artboard?

I was just able to open the file successfuly on Inkscape on Mac OS Mountain Lion. X11 I use is Apple’s XQuartz.

There are no layers. Each icon is simply a group of vector objects. I think this is an AI bug on reading standard SVG files.

About scaling, you can easily do it with Inkscape. I’m not editing these icons anymore. I actually think there are some new ones that my file does not include.

I was able to open the svgz file with a free Mac SVG program called EazyDraw Version 5.5.0.

Validating XML against XSD in PHP

It’s 2017 and you still prefer using XML(Extensible Markup Language) to JSON(JavaScript Object Notation) for data-interchange? Well, that is not the point about this article. Everything you want to say about the trade-offs of either of them has been dealt with here. But there are still a lot of systems using XML today and I can assure you that it would still be the case X years from now.
Validating XML against XSD might be the first step to take especially when building a feed Reader/Ingester. For Starters, any file like the sample below is a well-formed XML file.

and below is a sample XSD (XML Schema Definition) file:

Writing a XSD for your XML is actually easy to do, you make use of tools like freeformatter or do a crash course on w3Schools.
Now, we are ready to validate our XML file against the XSD using either DOMDocument or XMLReader. First, make sure that these extensions are enabled on PHP installation.

Validating With DOMDocument

This DomValidator can be easily used like so:

The above piece of code is actually easy to understand, the most important method here is the validateFeeds() method.

Validating With XMLReader

The upside of using XMLReader over DomDocument is scalability. XMLReader can handle very large files better than DomDocument. Our class will be very similar to that of DomDocument. Also note that your libxml version is above 2.6.

We use this class too similar to how we used the DomValidator class.

Leave a Reply

Your email address will not be published. Required fields are marked *