Re: XML based profile representation (was: ICC update from Tom Lianza, Chairman ICC.)
Re: XML based profile representation (was: ICC update from Tom Lianza, Chairman ICC.)
- Subject: Re: XML based profile representation (was: ICC update from Tom Lianza, Chairman ICC.)
- From: edmund ronald <email@hidden>
- Date: Thu, 18 Nov 2010 13:11:40 +0100
On Thu, Nov 18, 2010 at 12:54 PM, Klaus Karcher <email@hidden> wrote:
> IMHO the use of XML based ICC profiles (with the elements we have today) is
> limited as e.g. a CLUT will continue to be a blob -- it is not
> human-readable and no parser or DTD can prevent to fill it with nonsense.
>
Who cares about the tables content? as you say these will be blobs.
It's all about being able to add fields easily and read and write from
them with one line of code.
> Of course there are advantages in terms of flexibility, syntactical
> verifiability and so on but there are also drawbacks in terms of performance
> (compex parsers required) an file size. Maybe there is a way combine both
> approaches, e.g. use an XML based format to construct, verify and analyze
> profiles but a binary representation to store and embed them. With this
> double tracked approach one looses many advantages of a pure XML approach
XML parsers aren't complex for the user, they are standard libraries
in practically every computer language, and will be much less buggy
than custom parsers for the existing format.
I wrote a Python script that read in and parsed a japanese dictionary
in XML, on a train from Paris to Photokina a couple of years ago, and
it was actually ... my first Python program. I downloaded the
dictionary, XML libraries and even the Python SDK and docs during the
3 hour train ride.
Edmund
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden