ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Schema Compression
by Leigh Dodds other posts by this author
Feb 13 2001 12:39PM messages near this date
RE: HREFs in XSL | WG: Object Role Modelling (ORM) or UML or ?? for designing Schemas
Hi,

<musings> 
If compression is characterised as "encoding information while reducing the
bandwidth or bits required" [1],
and note that in lossy compression "The lost information is usually removed
because it is subjectively
less important to the quality of the data" [2].

Then isn't it possible to characterise a transformation of TREX (or RELAX or
XML Schemas) into
something terse like Hook [3] as lossy schema compression?

Hook is 'ultra-terse' and so is 'compressed' in the general sense. However
it is also
lossy because it is coarse-grained.

The loss in this case is in the available 'semantics' (and I'm using that
term recklessly) of the schema validation.
However in some (many?) cases the essential features of the desired
constraints
may be retained.
</musings> 

A different perspective, or has this been covered elsewhere?

[1]. http://www.dictionary.com/cgi-bin/dict.pl?term=compression
[2]. http://www.dictionary.com/cgi-bin/dict.pl?term=lossy
[3]. http://www.ascc.net/xml/hook/

Cheers,

L.


--
Leigh Dodds, Systems Architect       | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic |    sine necessitate"
http://www.xml.com/pub/xmldeviant    |     -- William of Ockham

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved