From brian.suda at gmail.com Mon Nov 13 04:19:57 2006 From: brian.suda at gmail.com (Brian Suda) Date: Mon Nov 13 04:20:00 2006 Subject: [uf-dev] HG and XSLT Refactoring Message-ID: <21e770780611130419yf0751aew31e5776a8a7ea6ea@mail.gmail.com> I have spent some free-time over the last week and have completely refactored alot of the XSLT code. I have broken it out into a new mf-template.xsl file which is sort of the "go find me microformatted data" code. It abstracts all the small details of which element type, all the child class="value" stuff, and other things perticular to extracting microformats data. So the nice things is that you can now do: FN: That call-template will get you the value of FN no matter where it is encoded. The other benefit is now hCal, hCal, GEO, hCite all use the same mf-template.xsl so if there is a bug, it will be fixed simultaneously across all the formats. This also has lead to a much faster prototyping of new templates, it is possible for anyone to churn out an XSLT to convert hCalendar encoded data to formats besides iCalendar fairly easily, you just build the "view" xslt and call the mf-template to get you the data. I know there has been discussion of re-orgainizing the structure of HG to accomidate for the new XSLTs and Tests for various formats. Does anyone know the status of that? when that is up and running i can check-in all the new code and tests. -brian -- brian suda http://suda.co.uk From connolly at w3.org Mon Nov 13 06:37:21 2006 From: connolly at w3.org (Dan Connolly) Date: Mon Nov 13 06:37:25 2006 Subject: [uf-dev] HG and XSLT Refactoring In-Reply-To: <21e770780611130419yf0751aew31e5776a8a7ea6ea@mail.gmail.com> References: <21e770780611130419yf0751aew31e5776a8a7ea6ea@mail.gmail.com> Message-ID: <1163428641.29678.1.camel@dirk> On Mon, 2006-11-13 at 12:19 +0000, Brian Suda wrote: > I have spent some free-time over the last week and have completely > refactored alot of the XSLT code. Interesting. > I know there has been discussion of re-orgainizing the structure of HG > to accomidate for the new XSLTs and Tests for various formats. Really? That's news to me. > Does > anyone know the status of that? when that is up and running i can > check-in all the new code and tests. Please don't wait for that reorg to check in. The worst thing that happens is that we roll back. > -brian > -- Dan Connolly, W3C http://www.w3.org/People/Connolly/ D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E From ryan at technorati.com Mon Nov 13 10:53:36 2006 From: ryan at technorati.com (Ryan King) Date: Mon Nov 13 10:53:43 2006 Subject: [uf-dev] HG and XSLT Refactoring In-Reply-To: <1163428641.29678.1.camel@dirk> References: <21e770780611130419yf0751aew31e5776a8a7ea6ea@mail.gmail.com> <1163428641.29678.1.camel@dirk> Message-ID: <284181B3-F5EF-4C81-A8EE-1DA0A1F86491@technorati.com> On Nov 13, 2006, at 6:37 AM, Dan Connolly wrote: > On Mon, 2006-11-13 at 12:19 +0000, Brian Suda wrote: >> I have spent some free-time over the last week and have completely >> refactored alot of the XSLT code. > > Interesting. > >> I know there has been discussion of re-orgainizing the structure >> of HG >> to accomidate for the new XSLTs and Tests for various formats. > > Really? That's news to me. Yeah, it was mostly discusses offlist between Brian, Robert Bachmann and myself. I'm supposed to follow up on it, but haven't yet. >> Does >> anyone know the status of that? when that is up and running i can >> check-in all the new code and tests. > > Please don't wait for that reorg to check in. The worst > thing that happens is that we roll back. Agreed. It's better to resolve conflicts than lose things. -ryan From brian.suda at gmail.com Mon Nov 13 10:57:14 2006 From: brian.suda at gmail.com (brian suda) Date: Mon Nov 13 10:57:40 2006 Subject: [uf-dev] HG and XSLT Refactoring In-Reply-To: <284181B3-F5EF-4C81-A8EE-1DA0A1F86491@technorati.com> References: <21e770780611130419yf0751aew31e5776a8a7ea6ea@mail.gmail.com> <1163428641.29678.1.camel@dirk> <284181B3-F5EF-4C81-A8EE-1DA0A1F86491@technorati.com> Message-ID: <4558C00A.8040109@gmail.com> i think there might still be an issue with the HG, i can't seem to push/pull anything - i think Robert has confirmed. Can someone else double-check, otherwise can we get that sorted too? -brian Ryan King wrote: > On Nov 13, 2006, at 6:37 AM, Dan Connolly wrote: > >> On Mon, 2006-11-13 at 12:19 +0000, Brian Suda wrote: >>> I have spent some free-time over the last week and have completely >>> refactored alot of the XSLT code. >> >> Interesting. >> >>> I know there has been discussion of re-orgainizing the structure of HG >>> to accomidate for the new XSLTs and Tests for various formats. >> >> Really? That's news to me. > > Yeah, it was mostly discusses offlist between Brian, Robert Bachmann > and myself. I'm supposed to follow up on it, but haven't yet. > >>> Does >>> anyone know the status of that? when that is up and running i can >>> check-in all the new code and tests. >> >> Please don't wait for that reorg to check in. The worst >> thing that happens is that we roll back. > > Agreed. It's better to resolve conflicts than lose things. > > -ryan > > > _______________________________________________ > microformats-dev mailing list > microformats-dev@microformats.org > http://microformats.org/mailman/listinfo/microformats-dev > From brian.suda at gmail.com Sun Nov 26 06:12:05 2006 From: brian.suda at gmail.com (Brian Suda) Date: Sun Nov 26 06:12:09 2006 Subject: [uf-dev] Hg SSH access not working? Message-ID: <21e770780611260612x6fba749p26ee40635e87dd41@mail.gmail.com> I know there was a server failure several weeks ago and everything was rescued from the backups. But i am still having problems SSH'ing into HG to pull/push files. I know Ryan was fixing this, so can someone confirm that it is an issue only on my end or if there is still a problem with the repository? Here is my communications with hg.microformats.org hg pull ssh://mercurial@hg.microformats.org/repos/tests pulling from ssh://mercurial@hg.microformats.org/repos/tests searching for changes mercurial@hg.microformats.org's password: mercurial@hg.microformats.org's password: mercurial@hg.microformats.org's password: remote: Permission denied, please try again. abort: unexpected response ''! remote: Permission denied, please try again. remote: Received disconnect from 69.55.232.130: 2: Too many authentication failures for mercurial -brian -- brian suda http://suda.co.uk From ryan at technorati.com Mon Nov 27 13:26:19 2006 From: ryan at technorati.com (Ryan King) Date: Mon Nov 27 13:26:34 2006 Subject: [uf-dev] Hg SSH access not working? In-Reply-To: <21e770780611260612x6fba749p26ee40635e87dd41@mail.gmail.com> References: <21e770780611260612x6fba749p26ee40635e87dd41@mail.gmail.com> Message-ID: <42DC3193-2224-4300-AF08-30BD9EA02361@technorati.com> On Nov 26, 2006, at 6:12 AM, Brian Suda wrote: > I know there was a server failure several weeks ago and everything was > rescued from the backups. But i am still having problems SSH'ing into > HG to pull/push files. I know Ryan was fixing this, so can someone > confirm that it is an issue only on my end or if there is still a > problem with the repository? > > Here is my communications with hg.microformats.org > > hg pull ssh://mercurial@hg.microformats.org/repos/tests > pulling from ssh://mercurial@hg.microformats.org/repos/tests > searching for changes > mercurial@hg.microformats.org's password: > mercurial@hg.microformats.org's password: > mercurial@hg.microformats.org's password: You shouldn't be entering a password ('cause there isn't one). Your ssh key's wrong. Send me the public key you want to use (off list). -ryan From brian.suda at gmail.com Wed Nov 29 05:01:37 2006 From: brian.suda at gmail.com (Brian Suda) Date: Wed Nov 29 05:01:45 2006 Subject: [uf-dev] Status/Updates... Message-ID: <21e770780611290501l3cb7d7f5w6e5d89e110fbfe3d@mail.gmail.com> I did manage to get my HG access working just fine and i have committed some updated test files. I am now working on getting all the XSLTs into some logical place to then also commit them. (that should be soon). My XSLT files need some debugging. I have managed to get them to work just fine with XSLTPROC locally, but then when i use PHP's XSLTTransform() things don't always work. Then i also tried them with the W3C's new XSLT2 service and they don't work at all[1]. So once i get things committed, if anyone has more experience with XSLT2 i might need some help chasing-up bugs - i get an error[2]: Using org.apache.xerces.parsers.SAXParser Exception java.lang.NullPointerException null. Also, there is an interesting article about Creating Passionate Users[3]. It tries to talk about why jargon is a good thing... basically, the points that got me were that they argued NOT to dumb-down to newbies, but to stick with the jargon and aim higher. There has been/is a long thread about splitting/creating mailing lists for newbies, or restating things better for new comers to the lists. I know this is the DEV list, but i'd rather spend my time having conversations here, than on the discuss list at the moment. Thoughts? -brian [1] - http://www.w3.org/2005/08/online_xslt/ [2] - http://www.w3.org/2005/08/online_xslt/xslt?xslfile=http%3A%2F%2Fsuda.co.uk%2Fprojects%2Fmicroformats%2Fhcard%2Fxhtml2vcard.xsl&xmlfile=http%3A%2F%2Fsuda.co.uk%2Fcontact%2F&content-type=&debug=on&trace=on&troff=on&validate=on&submit=transform [3] - http://headrush.typepad.com/creating_passionate_users/2006/11/why_web_20_is_m.html -- brian suda http://suda.co.uk From ryan at technorati.com Wed Nov 29 12:28:53 2006 From: ryan at technorati.com (Ryan King) Date: Wed Nov 29 12:28:59 2006 Subject: [uf-dev] Status/Updates... In-Reply-To: <21e770780611290501l3cb7d7f5w6e5d89e110fbfe3d@mail.gmail.com> References: <21e770780611290501l3cb7d7f5w6e5d89e110fbfe3d@mail.gmail.com> Message-ID: <37663616-4DDF-4F4F-8792-0019E6F26663@technorati.com> On Nov 29, 2006, at 5:01 AM, Brian Suda wrote: > I did manage to get my HG access working just fine and i have > committed some updated test files. I am now working on getting all the > XSLTs into some logical place to then also commit them. (that should > be soon). Awesome. > My XSLT files need some debugging. I have managed to get them to work > just fine with XSLTPROC locally, but then when i use PHP's > XSLTTransform() things don't always work. Then i also tried them with > the W3C's new XSLT2 service and they don't work at all[1]. So once i > get things committed, if anyone has more experience with XSLT2 i might > need some help chasing-up bugs - i get an error[2]: I've been thinking for awhile about setting up some automated testing. I was inspired by a comment by DanC (maybe blog post), where he mentioned that the OWL working group setup automated testing and published the results on the web (eat-the-dogfood style). Let's brainstorm some ways for us to do this. If we can setup a distributed system, it would be very easy for people to automate testing on a bunch of xslt implementations. > ... > > Also, there is an interesting article about Creating Passionate > Users[3]. It tries to talk about why jargon is a good thing... > basically, the points that got me were that they argued NOT to > dumb-down to newbies, but to stick with the jargon and aim higher. > There has been/is a long thread about splitting/creating mailing lists > for newbies, or restating things better for new comers to the lists. I > know this is the DEV list, but i'd rather spend my time having > conversations here, than on the discuss list at the moment. Thoughts? 2 things: 1. The splitting is not just a matter of having a newbie list vs. an advanced list. It's also about splitting the two types of conversations (using microformats and researching/discovering new microformats) up a bit so that people only interested in the former aren't overwhelmed by the volume. 2. There's nothing more influential than running code (in this context). -ryan -- Ryan King ryan@technorati.com From connolly at w3.org Wed Nov 29 12:47:30 2006 From: connolly at w3.org (Dan Connolly) Date: Wed Nov 29 12:47:35 2006 Subject: [uf-dev] Status/Updates... In-Reply-To: <37663616-4DDF-4F4F-8792-0019E6F26663@technorati.com> References: <21e770780611290501l3cb7d7f5w6e5d89e110fbfe3d@mail.gmail.com> <37663616-4DDF-4F4F-8792-0019E6F26663@technorati.com> Message-ID: <1164833250.3997.1334.camel@dirk> On Wed, 2006-11-29 at 12:28 -0800, Ryan King wrote: [...] > I've been thinking for awhile about setting up some automated testing. > > I was inspired by a comment by DanC (maybe blog post), that would be: Celebrating OWL interoperability and spec quality http://www.w3.org/QA/2006/11/celebrating_owl_interoperabili.html aka http://dig.csail.mit.edu/breadcrumbs/node/171 > where he > mentioned that the OWL working group setup automated testing and > published the results on the web (eat-the-dogfood style). -- Dan Connolly, W3C http://www.w3.org/People/Connolly/ D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E From rbach at rbach.priv.at Thu Nov 30 10:31:19 2006 From: rbach at rbach.priv.at (Robert Bachmann) Date: Thu Nov 30 10:30:42 2006 Subject: [uf-dev] Automated testing for the XSLTs (was: Re: Status/Updates...) In-Reply-To: <37663616-4DDF-4F4F-8792-0019E6F26663@technorati.com> References: <21e770780611290501l3cb7d7f5w6e5d89e110fbfe3d@mail.gmail.com> <37663616-4DDF-4F4F-8792-0019E6F26663@technorati.com> Message-ID: <456F2377.4030204@rbach.priv.at> Ryan King wrote: > I've been thinking for awhile about setting up some automated testing. > > I was inspired by a comment by DanC (maybe blog post), where he > mentioned that the OWL working group setup automated testing and > published the results on the web (eat-the-dogfood style). Let's > brainstorm some ways for us to do this. I like this idea. For example we could perform a test whenever someone checks something into hg:tests or hg:x2v respectively. The results could then be published at and As I already said off-list I work on a new "test runner suite" for the XSLTs in my spare time*, so it should be possible to incorporate some HTML report generating features. Robert -- Robert Bachmann (OpenPGP KeyID: 0x4A5CCF10) * because time is really spare at moment it may take till the end of the year.