OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [office] Namespace prefixes in attribute values

David A. Wheeler wrote:
> Dave Pawson
>> On which basis I'd advise against QNAMES in attribute values
> But what, exactly, would you do INSTEAD?  We need a reasonable alternative.  It would be absurd to embed whole IRIs inside the attribute value containing the formula.  We could have a "formula-language=" attribute to an IRI, for every formula; that might be 'clean' from that perspective, but that would make the format painful to use in practice.  If formula-language="..." is a namespace value, there's no real difference than the current approach.  They're very doubtful as prefixes of the entity names, or of the attribute names, because they're always formulas (though perhaps this is the best alternative).  We could forbid alternative languages (which is what failing to spec this issue would lead to), but that makes no sense; existing docs already find this capability useful.  The logic of what we're trying to do leads to, well, what's currently spec'ed.
> This is _already_ current practice; OpenOffice.org _already_ does this, as do I believe all OpenDocument implementations.  In general, I believe standards should codify existing practice, unless there's a good reason to otherwise AND a reasonable alternative.  Indeed, we should be wary of fixes that have never been tried in an implementation; often the fix is worse than the disease :-).

Actually, the ODF specification itself uses already namespace prefixes 
in attribute values, so what OOo does is simply what is specified in ODF 


> But if you think it's a bad idea, what would you do instead?
> --- David A. Wheeler
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  You may a link to this group and all your TCs in OASIS
> at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

Michael Brauer, Technical Architect Software Engineering
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
	   D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]