Re: Subelement addressing

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 UTC