W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > January 2013

RE: [LT-Web] ITS 2.0 parsing question

From: Yves Savourel <ysavourel@enlaso.com>
Date: Fri, 4 Jan 2013 09:26:13 -0700
To: <public-multilingualweb-lt@w3.org>
CC: 'Pēteris Ņikiforovs' <peteris.nikiforovs@Tilde.lv>
Message-ID: <assp.0716037dd9.assp.0716e4cb5a.006601cdea98$36c681c0$a4538540$@com>
Hi Mārcis, all,

> ...
> So if pointing to multiple nodes is wrong can other implementers share 
> what they do in such a situation (ignore that there is a content error or 
> throw an exception and require valid content)? I guess the simplest 
> solution is to tell users that the document is invalid, however, 
> we could also ignore such errors and allow the system to work with multiple nodes.

In our implementation we simply look only at the first node of the resulting set.
We currently don't generate an error or a warning if the expression result in more than one node.
Maybe we should.

Received on Friday, 4 January 2013 16:26:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:00 UTC