Showing posts with label standard. Show all posts
Showing posts with label standard. Show all posts

March 21, 2013

DRM in HTML5

Stop the Hollyweb! No DRM in HTML5.

Many people have doubts regarding how can possibly be an issue of having DRM on HTML, the foundation language of the entire web. One person in particular had the doubt of "how can it be possible that DRM (closed by its nature) is inserted into a standard?"

I have replied to her about it (in Portuguese), but I think that, with some adaptations and a translation, this text might also have a wider use for those of you trying to understand HTML, standards and DRM. Oh, and don't forget, click on the image in the right to sign a petition against DRM on HTML.

The "short answer"

You should attend to the Document Freedom Day 2013 celebration event nearer to you: they're happening starting today until April all around the world. There, I'm sure, there will be people knowing and willing to explain to you any questions regarding open standards in general and the "DRM in HTML" issue in particular.

The "long answer"

A standard should be considered open if it complies with a number of requisites. Here's the list (taken from this page, that explains each point better):

An Open Standard refers to a format or protocol that is:

  • Subject to full public assessment and use without constraints in a manner equally available to all parties;
  • Without any components or extensions that have dependencies on formats or protocols that do not meet the definition of an Open Standard themselves;
  • Free from legal or technical clauses that limit its utilisation by any party or in any business model;
  • Managed and further developed independently of any single supplier in a process open to the equal participation of competitors and third parties;
  • Available in multiple complete implementations by competing suppliers, or as a complete implementation equally available to all parties.
Unfortunately not every format is an open standard, or, in other words, doesn't comply with the previous points. If the proposal to have DRM on HTML5 is accepted, HTML will stop being an open standard, since it will stop complying with the second requirement of the list.

In more detail: the proposal on the table is called EME (Encrypted Media Extensions). An HTML document can include EMEs, and the specification of EME enables the website to require a certain "Content Decryption Module" (CDM). And here lies the problem: CDMs aren't standards (much less open standards!) and the EME specification doesn't include or refer to any specification of any CDM. In other words: the definition of open standard we just saw isn't complied, because to implement HTML5 we have to implement EME, which has to accept any CDM, which isn't a standard and so we cannot implement.

In other words, with an example: I make a website, and put there a media object (video, for instance) using EME, and I specify in the HTML document that the EME object needs the CDM module (which is a form of DRM) called "OneTwoThree". Now, if you want to see that website, you need a web browser that knows how to undertand HTML5 and EME (both possible since there's the specification), and the browser then needs to get the CDM called "OneTwoThree" (imagine it as being a browser plugin, not unlike Flash) and use it to play the video. The problems are obvious now: what if the CDM only exists for one specific Operating System? What if the CDM isn't free? You know... the thypical problems of a non-open standard format.

April 04, 2008

After OOXML, XPS

When you thought that OOXML was enough trouble, XPS comes to be talked about. Many people just ask why Microsoft decided to create a "standard" (OOXML) to something that already had one (ODF). My answer is: "why should they use what everyone uses, when they can make anyone use what they're using?". Sucks, I know. But OOXML was just a start: now I start to understand why Marcos Santos (from Microsoft) kept saying "we should look into the future". Is the future "let's replace every standard with a Microsoft format"? Seems so, considering they're now trying to make XPS an ISO standard.

Here's a nice looking table where you can easily understand what am I talking about (shamelessly copied from this post):

Feature OOXML XPS
Origin Microsoft Microsoft
Editor Microsoft via Rex Jaeschke Microsoft via Rex Jaeschke
Standards Body Microsoft via MS-ECMA Microsoft via MS-ECMA
Patents Microsoft promise OSP Microsoft promise CP
Duplication ODF ISO26300 PDF ISO32000
ISO Liaisons ISO/IEC JTC 1/SC 34 ISO/IEC JTC 1/SC 34
ISO plans in progress will be submitted to ISO
Restricted technologies WMA, WMV, MP3, OLE, Binary space, Macros HD-Photo


So, it seems that after forcing their own replacement for ODF, they're now trying to do the same for PDF. What will come next? HTML? Place your bets...

April 01, 2008

OOXML approved as an ISO standard


Specially during the last year, I talked about OOXML several times in this blog. Despite already existing already an open standard for documents, Microsoft pushed its own format to be an ISO standard, and, using polemic tactics, they finally made it. The official press release isn't out there yet (it will be today), but both ECMA and Microsoft already made press releases announcing the approval.

What does this mean? Is it a defeat? As you know if you've read my previous comments on OOXML, I was against it being an ISO standard. Now that it is, it is important to stress the importance that there are two standards, ODF and OOXML, and of those only ODF is open. But I don't consider all the work made to rise issues on OOXML was in vain. The discussion arose lots of awareness about OOXML problems. OOXML was modified since its submission, and while it still has several critical problems, it is now better than it was one year ago. And the whole issue isn't over yet.

What is there to be done? Well, first of all, it's important to act wisely and understand that now that OOXML is an ISO standard, it should be supported in the biggest number of applications and platforms. For instance, OpenOffice still doesn't support OOXML (although it is already in their roadmap). Also, standards aren't immutable. The work into maintaining and enhancing document standards just doubled, but it's something that must be done. There's already work being done for ODF 1.2 (expected to be an ISO standard on Summer 2009), but surely there will be plans to release new versions of OOXML. This is quite important and shouldn't be ignored, also by (maybe specially by) people that, like me, don't like OOXML. That is the opportunity to fix OOXML problems, but there's an huge risk of having new versions pushed by Microsoft using the same tactics that were used now, making OOXML even worse for everyone but Microsoft. We all should have our eyes open to that possibility, specially because many people might expect that new versions should be automaticly approved just because the actual specification is already an ISO standard.

It that it? Will we have to deal with two standards, implement two standards, do twice the work? Well, maybe it's time to - without prejudice into the work on ODF and OOXML - create yet another format that deprecates both ODF and OOXML. This is something I really don't like, and don't think I'm recommending that, but I'm afraid that, in a not so distant future, that might be the only way of fixing all this double standards mess.

But, but... What credibility can have a standard that was approved like this? Well, not much - for those of us who know what happened, and what are the flaws in OOXML. But for non-tech people, like politicians, librarians, teachers, and everyone else, it will not be clear that this standard isn't a good choice. And here's where we must act. For instance, EU wants to have all their documents in a standard format. We (Europeans) are the ones who should show them why they shouldn't choose OOXML. Who else?

UPDATE: ISO official announcement here

March 31, 2008

Links


To make a change to my latest blog articles, here's a post of "links".

First of all, congratulations Prt.Sc. Prt.Sc is a Portuguese blogs aggregator and I'm happy to be one of the screenies that are aggregated there. Prt.Sc is, for me, with no doubt the best information source for Portuguese geeks (since there's a big ratio of Portuguese content, I don't think it is quite suitable for non-Portuguese readers). It is now making 3 years, and I'm quite confident that this next one is going to be exciting.

Then, Merankorii. For those who still don't know, Merankorii is my own musical project. There are quite some news about it: tomorrow is the official release date of Merankorii's fifth album "A Viagem", that is going to be released both in MP3 format and as a 30-copies extremely limited CD edition with a packaging that doesn't let anyone be indiferent about it. Also, and following what happens with the third CD "Melencolia III", now "Sanguine", the fourth Merankorii album, is also available in MP3 in a "Name Your Own Price" regime: from $1 USD to $20 USD, you can choose how much you want to pay to have my music.

As some of you noticed, my recent blog post about the Document Freedom Day is generating a lot of comments, mainly from me and Microsoft's Marcos Santos, where it is being somewhat debated wether OOXML is or not suitable of being an ISO standard. It's not a surprise that the theme is being so much debated all over the internet this last few days: yesterday the vote submissions ended, and now everyone is just waiting for ISO to announce what are the results (is OOXML is aprooved as an ISO standard or not). ISO already said that the anouncement is going to happen wednesday (I wonder if they did it just to avoid having a press release mistaken as an April's Fool joke). There are some blogs doing an excelent job of tracking down all the announcements and rumors about the vote of each country, and predicting the result. By now, we all already expect OOXML to be aproved by ISO, since the chances of the result being another are dimming almost every hour.

I've already linked to my friendfeed, but I'll do it again. I'm using it more regularly, and I really like the way I use it and how I quickly get track of what my "friends" are doing. I'm also using it to post quick comments or links, so if you're fond of this posts where I give you a collection of links, you might want to follow me on friendfeed.

Some time ago I wrote about OpenCoffee and how it was (not) working in Portugal. VD decided to take a slightly different approach and ended creating "OpenPub", here in Lisbon. I really prefer this concept: people get together to have a drink (to socialize), but since you're gathering informally people with somewhat simmilar interests (or at least with interests in the same field), the socialization ends fruitous. I didn't manage to be present in any of the gatherings that happened until now, but I really hope that this starts happening even more spontaneously (with more people yelling "let's have a drink!", and doing it more frequently), and, of course, that I manage to be in one of those gatherings. The most similar thing I had recently was the dinner from the Document Freedom Day celebration here in Lisbon, and I suppose I'll have fun this weekend, at...

...Tecnonov 2008. Tecnonov 2008 is going to happen at the 5th (this saturday), whole day, in Coimbra. The entry is free, and the talks good. We'll also have free swag (t-shirts included), a Debian key-signing party, and the promise of an event that - like last year - is surely extend itself all night long. I hope to see you there!

March 25, 2008

Document Freedom Day


This one is going to be short, I promise.

Tomorrow is going to the the "Document Freedom Day". I intend to celebrate it in Lisbon. If you want to celebrate it in Portugal you might be interested in checking about the events in Lisbon and Oporto. If you want to know about other countries, there's a list aggregating the events happening all over the world.

Document Freedom is an important matter. I've been a fan and user of LaTeX for more than 10 years. The main reason I liked it in the first place was the easyness of creating, writting an maintaining a document. I remember having a really old 386 laptop which only use was a LaTeX compiler, the vim editor and a DVI viewer. What starting as being "wow, this is a cool new way of doing stuff, without that boring formating crap and I'm really more produtive with it!", quickly started being a lot more things, as I stumbled upon more advantadges. See, LaTeX is an Open Format. Besides being available in any Operating System I stumbled upon, the fact that it is distributed under the terms of the LPPL, thus being free software, made it suitable for a lot of uses. Heck, I earned some real money doing translators and interpreters of, or using, LaTeX. The beauty of it was that, since it was open, anybody could read, alter, interpret or otherwise manipulate a TeX document. I was happy, but the format never was really adopted but in some specific cases or scenarios, and in the academic world (specially Mathmatics, since LaTeX has the most powerful - in my oppinion at least - way of representing math formulas). On one hand, LaTeX is only suitable to produce word processing documents, formulas or presentations. Office suites give you that, and also spreadsheets and charts. On the other hand, even if fully documented, LaTeX (and TeX) aren't standards.

I heard for the first time about ODF in 2002. Of course I knew that there were concurrent formats to those of Microsoft Office, but as soon as I heard about ODF I became more happy. No, I wasn't intending to be a ODF user. I still do my documents in LaTeX, even today. But this was - finaly - a document format, open as (La)TeX, but an "office suite format", meaning that it would also cover spreadsheets and charts. The cherry on the top of the cake, those making ODF happen wanted it to be an Open Standard. Great! I was not the only one - of course - understanding the power and importance of an Open Standard for documents. Documents in an open format - specially if regulated by a standards body, warrants you long-term access to data without legal or technical barriers. In 2004 the European Union understood its importance, and demanded from the existing vendors the existence of a document standard. The ODF work was already being done, and in 2005 ODF became an OASIS standard, a step into 2006 where it became an ISO standard. In that same year I attended to XTech '06, where I met Donna that spoke about ODF, Our Document Future. It was a great presentation in many ways: The talked about the importance of digital preservation, how can we do it, and why ODF was the best choice. She then talked about the massive adoption that ODF was already having in Australia, with the Digital Preservation front efforts. That was just the beggining: Italy adopted ODF in 2007, the same year that saw ODF 1.1 as an ISO standard (1.2 should be ready in summer 2009), and nowadays ODF is being considered and already adopted, in some cames more massively than in others, in countries like Netherlands, Belgium, Finland, France, Norway, Japan, Germany and Malaysia.

But Donna also told in her 2006's presentation that the future would bring us dark clouds in our sunshining scenario: Microsoft and OOXML. She was right. See, Microsoft has no commercial interest of adopting ODF (or any standard, for the matter). Yet, with all political pressure, it is mandatory that they support a standard... So they decided to create their own, which was aprooved as an ECMA standard in December 2006 and is now in the process of trying its aprooval as an ISO standard. Microsoft doesn't really support ODF (despite their trolls saying "but we pay for the development of converters!"): if they wanted to support the ODF standard, even if not their format of choice, ODF would be integrated in a stock instalation of their Office Suite. Also, if you considered that they were never interested in contributing into making ODF a better standard (which would be the natural action of a party interested in the field) that would serve for their technical purposes, you can't really think nor expect people to believe that Microsoft was really interested in a standard. But OOXML is worse than that: it isn't open (thus, even if it turns into a standard it will never be an open standard), is encumbered with software patents, while supposedly being a XML format (like ODF) has in its specs examples that show invalid XML, and has an incomplete specification.

I could go on and on about all the process and steps that Microsoft made this last couple of years to make OOXML a standard, refering to the way they admitedly bought votes and comitees, how issues were handled and so far, but I don't think that's useful. Last October I was invited to be the chair to a debate about ODF and OOXML. Not even one of the dozens of entities that supposedly support OOXML in Portugal were available to attend. The excuse of Microsoft, for instance, was that "during the aproval process there were made personal acusations to Microsoft workers in newspapers and blogs, so we don't have conditions in participating". This same Microsoft employee writes frequently in several blogs whenever the issue arises. But what really made me stop writting much about the issue was the fact that... it's a war I can't win, and that pisses me off. Everytime someone talks about the issue, dozens of Microsoft-payed people (they admited it) go to the blogs and flood them with lies, circular references, and anti-IBM or anti-SUN messages. They have the means and the money to do that, I don't. But I still have the truth with me, and tomorrow I'll show it. Because the world doesn't need to be controled by some corporation. The world needs Document Freedom.

June 25, 2007

Say NO to the Microsoft Office format as an ISO standard

You know Office? Yeah, that tool people use for producting documents, of almost any type: memos, reports, books, spreadsheets, charts, presentations, word processing documents... So, nowadays
we have an Open Standard for such documents: ODF (OpenDocument Format). If you're into this issue, you may already know that Microsoft has their own new format, Office Open XML (OOXML), and they're trying to make it also an ISO standard.

Why is it bad?

  1. There is already a standard ISO26300 named Open Document Format (ODF): a dual standard adds costs, uncertainty and confusion to industry, government and citizens;
  2. There is no provable implementation of the OOXML specification: Microsoft Office 2007 produces a special version of OOXML, not a file format which complies with the OOXML specification;
  3. There is missing information from the specification document, for example how to do a autoSpaceLikeWord95 or useWord97LineBreakRules;
  4. More than 10% of the examples mentioned in the proposed standard do not validate as XML;
  5. There is no guarantee that anybody can write a software that fully or partially implements the OOXML specification without being liable to patent damages or patent license fees by Microsoft;
  6. This standard proposal conflicts with other ISO standards, such as ISO 8601 (Representation of dates and times), ISO 639 (Codes for the Representation of Names and Languages) or ISO/IEC 10118-3 (cryptographic hash);
  7. There is a bug in the spreadsheet file format which forbids to enter any date before the year 1900: such bugs affects the OOXML specification as well as software versions such as Microsoft Excel 2000, XP, 2003 or 2007.
  8. This standard proposal has not been created by bringing together the experience and expertise of all interested parties (such as the producers, sellers, buyers, users and regulators), but by Microsoft alone.

If you agree with me and also think that these are reasons enough for a rejection of OOXML as a standard, please sign this petition!