- From: Priscilla Walmsley <pwalmsley@datypic.com>
- Date: Tue, 6 May 2025 20:13:22 +0000
- To: Michael Kay <mike@saxonica.com>
- CC: "public-xslt-40@w3.org" <public-xslt-40@w3.org>
- Message-ID: <PH7PR22MB36165334014EE6355DCC168AA389A@PH7PR22MB3616.namprd22.prod.outlook.com>
OK, thanks. I will create a PR with what I think are obvious typos/oversights, and open a few general Github issues for some that probably need discussion. I will look at the test cases you mention. As far as my interest in the schema...I have a tool called Schema Central that parses schemas into documentation that (and others) I find helpful to see the general structure of various XML vocabularies, including XSLT. The XSLT 4.0 schema is documented here: https://www.datypic.com/sc/xslt4/s-schema-for-xslt40.xsd.html I also have written some tools that check XSLT for common problems (generally not static errors but more like ill-advised design or gotchas...a sort of XSL lint tool). I have been referring to the schema as a reference to update my tools to add some rules for XSLT 3.0 and 4.0. So, basically for documentation purposes, although my tool does validate XSLT against the schema for the heck of it. Also, I heard you all were looking for feedback on XSLT 4.0, and given my background it seemed that looking at the XSD in detail would be the best way for me to contribute. Thanks! Priscilla From: Michael Kay <mike@saxonica.com> Sent: Tuesday, May 06, 2025 3:52 PM To: Priscilla Walmsley <pwalmsley@datypic.com> Cc: public-xslt-40@w3.org Subject: Re: Numerous comments on the XSD for XSLT 4.0, what is the best way to report/fix? I think that generating a PR would be a great contribution. I would keep the number of issues small if possible, to reduce the admin overhead. I don't know if you're aware that there are some relevant test cases. Test misc/catalog-005/005b tests that every non-error stylesheet in the test suite is valid against the schema; -007 tests that all element/attribute pairs permitted by the schema are present in some stylesheet, etc. For this purpose there is a copy of the schema in the test suite repo, which needs to be kept in sync "by hand". As a matter of curiosity, what is the reason for your interest in the schema? Michael Kay On 6 May 2025, at 19:10, Priscilla Walmsley <pwalmsley@datypic.com<mailto:pwalmsley@datypic.com>> wrote: Hello all, I realize that the XSD for XSLT 4.0 is probably not your highest priority right now, but I recently went through it and have a large number of comments (~30). Some are simple nits and typos, some are general questions like whether there should even be default values in the XSD (seems like there shouldn’t, given shadow attributes). I’m not sure of the best way to report these is – individual Github issues for each item or groups of items? Emails here breaking them down into broader topics for discussion? For the obvious typos, I could alter the schema and create a pull request? Happy to help out in whatever the most expedient way to fix these, including doing some of the editing of the schema. Thanks! Priscilla
Received on Tuesday, 6 May 2025 20:13:34 UTC