- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Tue, 22 Aug 2023 07:39:32 +0000
- To: ixml <public-ixml@w3.org>
I got a question about this from someone. If you work on Windows, line separators are #A#D, while on Linux they are just #A. So to make this example OS independent, you can replace the first line dates: date++-#a. with dates: date++nl, nl?. -nl: -#a, -#d?. This also allows an extra line ending at the end of the input file. Steven On Monday 21 August 2023 23:38:14 (+02:00), Steven Pemberton wrote: > This evening ixampl passed regression tests with the new code added for renaming: > > > dates: date++-#a. > date: text; numeric. > -text: day, s, @tmonth > month, s, year. > -numeric: day, -"/", nmonth, -"/", year. > day: d, d?. > year: d, d, d, d. > @nmonth>month: d, d?. > tmonth: -"January", +"1"; > -"February", +"2"; > -"March", +"3"; > -"April", +"4"; > -"May", +"5"; > -"June", +"6"; > -"July", +"7"; > -"August", +"8"; > -"September", +"9"; > -"October", +"10"; > -"November", +"11"; > -"December", +"12". > -d: ["0"-"9"]. > -s: -" "+. > # > 31/12/2023 > 31 December 2023# > > <dates> > <date month='12'> > <day>31</day> > <year>2023</year> > </date> > <date month='12'> > <day>31</day> > <year>2023</year> > </date> > </dates> > > Steven
Received on Tuesday, 22 August 2023 07:39:41 UTC