From: SourceForge.net <no...@so...> - 2008-12-22 01:28:20
|
Bugs item #2457095, was opened at 2008-12-22 12:28 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=2457095&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Export Character Group: To be fixed For 5.16.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: James Dempsey (jdempsey) Assigned to: James Dempsey (jdempsey) Summary: [5.15.8] Mixed case type breaks export sheet logic Initial Comment: Subject: Re: [PCGD] Lowercase Nodes? Date: Thu, 11 Dec 2008 16:44:32 +0100 From: Stefan Radermacher To: PCGen Development References: <654...@we...> As an example, the file fantasy_common.xslt checks for magic/psionic items within the XSL template "item" to display these item in bold font. For that it uses this test: <xsl:if test="contains(type, 'MAGIC') or contains(type, 'PSIONIC')"> <xsl:attribute name="font-weight">bold</xsl:attribute> </xsl:if> The XSL contains funtion, however, is case sensitive, and thus no longer able to find magic or psionic items. Regards, Stefan. On Thursday 11 December 2008 16:03:06 Tom Parker wrote: > How TYPE was stored changed. I was told in the 11/17 BoD meeting that the > OS items were not case sensitive, so if they are, then it would help to > understand what component of the OS are failing. > > Thanks. > > TP. > -- > > Tom Parker > > > --- On Thu, 12/11/08, Stefan Radermacher wrote: > From: Stefan Radermacher > Subject: [PCGD] Lowercase Nodes? > To: "PCGen Development" > Date: Thursday, December 11, 2008, 6:58 AM > > On Wednesday 10 December 2008 14:21:00 Stefan Radermacher wrote: > > I have set up a new PCGen development environment on a newly installed > > machine and I noticed that the preview tab is missing in the application, > > while it is still available in the development version of my old machine. > > Am I missing a preference? > > I am noticing another difference between the new and the old set-up: on the > new machine, all tree nodes (like TYPEs and so on) are in mixed case while > on the old machine everything is still in upper case. > > Unfortunately this translates to the output sheet (i.e. in <type> tags in > the > base.xml) and the xslt files check types in upper case only, so these > checks no longer work. > > What has changed here? > > Regards, > Stefan. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=2457095&group_id=25576 |