comparison notes.txt @ 24:87e0d620deea

switch to elements from attributes and default namespace
author Henry S. Thompson <ht@markup.co.uk>
date Thu, 06 Apr 2017 17:24:30 +0100
parents bfa38afaea63
children 8309dcfce613
comparison
equal deleted inserted replaced
23:bfa38afaea63 24:87e0d620deea
44 away? Can throw away empty _rows_ in rect.xsl, but for _cells_ have 44 away? Can throw away empty _rows_ in rect.xsl, but for _cells_ have
45 to wait for ascii.xsl or html.xsl. But only copy type in in rect if 45 to wait for ascii.xsl or html.xsl. But only copy type in in rect if
46 there was content before. 46 there was content before.
47 ----------- 47 -----------
48 Using attributes to hold space-separated lists is risky, as in 48 Using attributes to hold space-separated lists is risky, as in
49 refs.xsl output, is risky! 49 refs.xsl output, is risky! Fixed, see below.
50 ----------- 50 -----------
51 Not handling variables as references. Not catching external 51 Not handling variables as references. Not catching external
52 references to variables. Not catching naked [n]! as external 52 references to variables. Not catching naked [n]! as external
53 references. 53 references.
54 Fixed, but not dereferenced vars 54 Fixed, but not dereferenced vars
55 The definition table is in workbook.xml definedNames/definedName[@name=$name]/. 55 The definition table is in workbook.xml definedNames/definedName[@name=$name]/.
56 Sheet name to filename mapping for locals is in workbook.xml sheets/sheet[@name=$sname]/@sheetId 56 Sheet name to filename mapping for locals is in workbook.xml sheets/sheet[@name=$sname]/@sheetId
57 ----------- 57 -----------
58 Switch to default namespace in order to reduce size and improve readability 58 Switch to default namespace in order to reduce size and improve
59 readability, and to elements instead of attributes
59 ----------- 60 -----------
60 Should put another step after refs.xsl to compute a map from 61 Should put another step after refs.xsl to compute a map from
61 distinct-values of all targets to all the cells which use them 62 distinct-values of all targets to all the cells which use them
62 (likewise ranges). That really does mean we should move to elts for 63 (likewise ranges). That really does mean we should move to elts for
63 each ref or range, since at this point we want to compute vector 64 each ref or range, since at this point we want to compute vector