W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > October 2007

Re: Countdown to alpha release

From: Roland Gülle <roland@7val.com>
Date: Thu, 4 Oct 2007 08:30:39 +0200
Message-Id: <56C6A5F5-8144-4697-BCFC-804D6B931247@7val.com>
Cc: public-mobileok-checker <public-mobileok-checker@w3.org>
To: Sean Owen <srowen@google.com>

Hi Sean,

a short update:

> Running the library now on a site or two, the only major issue I see
> is that line numbers aren't generally reported, but more than that,
> that <code> is empty in many cases.
>
> Roland I wonder if you can have a look at how <code> works again? It's
> coming out empty for me. I remember you'd also  wanted to work out how
> to get line number info from XSL if possible.
<code> is empty:
Actually there are xml nodes in the <code> elements.
It seems that the java code returns the value of the <code> elements,  
not the node-list.

There are two possible solutions:
a) use the node-list in the java code
b) transform the nodes into text by XSLT

I created a ticket in bugzilla [1] .
If we should use solution b) assign me the ticket.

line numbers:
I searched the java function that can use in the XSLT to return the  
document position,
(also contacted Laura, but she doesn't answered) but I don't find it.
It would be great if you help me with this question!

If there isn't a java solution, I found a solution for returning the  
line numbers in a document with XSLT [2].
A question about the line number: should we return the line number of  
the original or tidied document?
We have this already discussed... but I don't remember our resolution.
The XSLT solution only works with the tidied doc.

Cheers,
  Roland

[1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=5131
[2] http://www.stylusstudio.com/xsllist/200301/post91010.html
Received on Thursday, 4 October 2007 06:31:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:04 GMT