This page is part of a searchable archive of the Code Style site log. Technical implementation notes that shed light on when, why and how the site has evolved since 2000.
Follow the latest entries to the site log.
Archived the site log for December 2004 and replaced the table layout for the site log archive with a select-based navigation form, using the AnchorPoints servlet. Added a selector to set the colour of the optgroup element for each year:
input[type=text],
input[type=radio],
input[type=checkbox],
select, option,
textarea {
color: #000;
background: #EEF;
}
optgroup {
background: #039;
color: #FFF;
font-style: normal;
}
Also split-out contents pages for previous years to reduce the length of the current site log contents.
Released the wide right margin on FAQ definition lists to allow wide pre elements to use the space. All nested FAQ content has an equivalent margin, but the greater specificity of the .Wide selector overrides this.
/*
Wide margin-right to float images
and box-outs there.
*/
#Content p, #Content ol, #Content ul,
#Content dl.TOC, #Content pre, fieldset,
.MenuBox, #Content .SQL,
#Content .StackTrace {
margin-right: 31%;
}
#Content dl.FAQ p,
#Content dl.FAQ pre, #Content dl.FAQ dl,
#Content dl.FAQ ol, #Content dl.FAQ ul {
margin-right: 32%;
}
/*
Longer preformatted lines take more
width.
*/
#Content pre.Wide,
#Content dl dd pre.Wide {
margin-right: 0;
}
Removed language element output from the XHTMLtoRSS XSL transformation for RSS 0.9 mode output only.
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Added RSS auto-discovery type link attributes to standard RSS anchor elements to aid content type handling in Web browsers:
<a href="/servlets/ParseRSS?url=/codestyle/log/index.shtml" rel="alternate" type="application/rss+xml" title="RSS">RSS 1.0</a>
Updated date fields and copyright statements in various source content to the year 2005.
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Modified the XHTMLtoRSS and DCElementsRSS XSL templates to include the last modified date passed through from the origin server. For RSS 1.0, the stylesheet generates a dcterms:modified element with W3CDTF timestamp, which takes precedence over any dc:date or dcterms:modified value in the source document. Also removed nested rdf:Description elements for Dublin Core metadata extracted from link elements. Simplified the language element output for RSS 0.9 mode output.
Corrected the case of MeSH class selector in the DC.css stylesheet, which matches the Dublin Core qualifier name:
dcterms\:MESH:after {
content: "(Medical Subject Headings)";
}
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Moved the shadow URL path field and methods from the AbstractMockHttpServletResponse class to AbstractMockServletResponse, since RequestDispatcher may forward generic servlet responses.
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Added a setFailOnGet method to the SQL MockResultSet class to force SQLException on all "getter" methods as required for testing.
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Added a modified date argument to the SAXTransformer transform method, which adds a last-modified XSL parameter to the transformation. The string is assigned via the new W3CDTF utility class, which applies a time zone adjustment to UTC and formats according to the standard. Updated the SAXTransformerTest class with the new transform method signature.
Found the source of the array index problem in the ResultLogTest class (see January 5); the month array had two "Mar" entries!
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Completed a first draft utility class W3CDTF, to format standard Java date values as W3C Date Time Format strings. The timestampUTC method adjusts a local time value to UTC and returns a formatted timestamp string. Completed coverage tests for the timestamp method, including seasonal adjustments for daylight savings.
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Corrected the ResultLogTest class' timestamp check, which had an incorrect month array index for January.
Added gazz and Ocelli to the robots.txt exclusion policy.
Actions: Ask a question about this log entry, seek clarification or offer a correction.
Find technical implementation notes on all aspects of the Code Style site.
For a summary overview, see the annotated site log contents.