W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: Subelement addressing

From: Peter Murray-Rust <Peter@ursus.demon.co.uk>
Date: Wed, 18 Jun 1997 22:36:39 GMT
Message-Id: <8153@ursus.demon.co.uk>
To: w3c-sgml-wg@w3.org
In message <3.0.32.19970617161009.00a4f3c0@pop.intergate.bc.ca> Tim Bray writes:
> The proposal described herein is mostly due to James Clark.  
> 
> 
> The idea is to introduce a new XML-link locator keyword STRING
> that would work as follows:
> 
> STRING(7, 8, "LITERAL")
> 
I appreciate this.  As the WG knows I am particularly interested in non-textual
information such as:
<ARRAY>1.2 2.3 3.4 4.5</ARRAY>
etc.
and so can now use STRING(2,1," ") to locate the third number.
Is it expected that this whitespace is to be counted excatly as it appears 
e.g. in:
<ARRAY> 1.2 2.3   3.4 4.5</ARRAY>
or
is there provision for normalising it as in attribute values?  I appreciate that
it may be easier to require authoring systems to conform to (say) single spaces,
but it is extremely easy for counting of whitespace to produce errors and the 
possibility of normalising it would be valuable.

	P.


-- 
Peter Murray-Rust, domestic net connection
Virtual School of Molecular Sciences
http://www.vsms.nottingham.ac.uk/
Received on Wednesday, 18 June 1997 18:39:07 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:41 EDT