misc prop fixes

svn: r16374
This commit is contained in:
Eli Barzilay 2009-10-19 22:36:12 +00:00
parent fba54e27af
commit 3d60fe640b
8 changed files with 113 additions and 120 deletions

View File

@ -7,8 +7,8 @@
(for-label planet/config) (for-label planet/config)
(for-label planet/util)) (for-label planet/util))
@(define-syntax-rule (eg (code resl) ...) @(define-syntax-rule (eg (code resl) ...)
(interaction (interaction
(eval:alts code resl) (eval:alts code resl)
...)) ...))

View File

@ -122,7 +122,3 @@
(λ (e) else-clause)]) (λ (e) else-clause)])
(((get-prefix-dispatcher (list (list option (λ () result)) ...)) (((get-prefix-dispatcher (list (list option (λ () result)) ...))
elt)))))])) elt)))))]))

View File

@ -1,6 +1,6 @@
.AutoBibliography p { .AutoBibliography p {
padding-left: 1em; padding-left: 1em;
text-indent: -1em; text-indent: -1em;
} }

View File

@ -1,44 +1,44 @@
<HTML> <HTML>
<TITLE>Canonical XML</TITLE> <TITLE>Canonical XML</TITLE>
<BODY> <BODY>
<H1>Canonical XML</H1> <H1>Canonical XML</H1>
<P> <P>
This document defines a subset of XML called canonical XML. This document defines a subset of XML called canonical XML.
The intended use of canonical XML is in testing XML processors, The intended use of canonical XML is in testing XML processors,
as a representation of the result of parsing an XML document. as a representation of the result of parsing an XML document.
<P> <P>
Every well-formed XML document has a unique structurally equivalent Every well-formed XML document has a unique structurally equivalent
canonical XML document. Two structurally equivalent XML canonical XML document. Two structurally equivalent XML
documents have a byte-for-byte identical canonical XML document. documents have a byte-for-byte identical canonical XML document.
Canonicalizing an XML document requires only information that an XML Canonicalizing an XML document requires only information that an XML
processor is required to make available to an application. processor is required to make available to an application.
<P> <P>
A canonical XML document conforms to the following grammar: A canonical XML document conforms to the following grammar:
<PRE> <PRE>
CanonXML ::= Pi* element Pi* CanonXML ::= Pi* element Pi*
element ::= Stag (Datachar | Pi | element)* Etag element ::= Stag (Datachar | Pi | element)* Etag
Stag ::= '&lt;' Name Atts '&gt;' Stag ::= '&lt;' Name Atts '&gt;'
Etag ::= '&lt;/' Name '&gt;' Etag ::= '&lt;/' Name '&gt;'
Pi ::= '&lt;?' Name ' ' (((Char - S) Char*)? - (Char* '?&gt;' Char*)) '?&gt;' Pi ::= '&lt;?' Name ' ' (((Char - S) Char*)? - (Char* '?&gt;' Char*)) '?&gt;'
Atts ::= (' ' Name '=' '"' Datachar* '"')* Atts ::= (' ' Name '=' '"' Datachar* '"')*
Datachar ::= '&amp;amp;' | '&amp;lt;' | '&amp;gt;' | '&amp;quot;' Datachar ::= '&amp;amp;' | '&amp;lt;' | '&amp;gt;' | '&amp;quot;'
| '&amp;#9;'| '&amp;#10;'| '&amp;#13;' | '&amp;#9;'| '&amp;#10;'| '&amp;#13;'
| (Char - ('&amp;' | '&lt;' | '&gt;' | '"' | #x9 | #xA | #xD)) | (Char - ('&amp;' | '&lt;' | '&gt;' | '"' | #x9 | #xA | #xD))
Name ::= (see XML spec) Name ::= (see XML spec)
Char ::= (see XML spec) Char ::= (see XML spec)
S ::= (see XML spec) S ::= (see XML spec)
</PRE> </PRE>
<P> <P>
Attributes are in lexicographical order (in Unicode bit order). Attributes are in lexicographical order (in Unicode bit order).
<P> <P>
A canonical XML document is encoded in UTF-8. A canonical XML document is encoded in UTF-8.
<P> <P>
Ignorable white space is considered significant and is treated equivalently Ignorable white space is considered significant and is treated equivalently
to data. to data.
<P> <P>
<ADDRESS> <ADDRESS>
<A HREF="mailto:jjc@jclark.com">James Clark</A> <A HREF="mailto:jjc@jclark.com">James Clark</A>
</ADDRESS> </ADDRESS>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,60 +1,60 @@
<HTML> <HTML>
<TITLE>XML Test Cases</TITLE> <TITLE>XML Test Cases</TITLE>
<BODY> <BODY>
<H1>XML Test Cases version 1998-11-18</H1> <H1>XML Test Cases version 1998-11-18</H1>
<P> <P>
Copyright (C) 1998 James Clark. All rights reserved. Permission is Copyright (C) 1998 James Clark. All rights reserved. Permission is
granted to copy and modify this collection in any way for internal use granted to copy and modify this collection in any way for internal use
within a company or organization. Permission is granted to within a company or organization. Permission is granted to
redistribute the file <code>xmltest.zip</code> containing this redistribute the file <code>xmltest.zip</code> containing this
collection to third parties provided that no modifications of any kind collection to third parties provided that no modifications of any kind
are made to this file. Note that permission to distribute the are made to this file. Note that permission to distribute the
collection in any other form is not granted. collection in any other form is not granted.
<P> <P>
The collection is structured into three directories: The collection is structured into three directories:
<DL> <DL>
<DT><CODE>not-wf</CODE> <DT><CODE>not-wf</CODE>
<DD>this contains cases that are not well-formed XML documents <DD>this contains cases that are not well-formed XML documents
<DT><CODE>valid</CODE> <DT><CODE>valid</CODE>
<DD>this contains cases that are valid XML documents <DD>this contains cases that are valid XML documents
<DT><CODE>invalid</CODE> <DT><CODE>invalid</CODE>
<DD>this contains cases that are well-formed XML documents <DD>this contains cases that are well-formed XML documents
but are not valid XML documents but are not valid XML documents
</DL> </DL>
<P> <P>
The <CODE>not-wf</CODE> and <CODE>valid</CODE> directories each have The <CODE>not-wf</CODE> and <CODE>valid</CODE> directories each have
three subdirectories: three subdirectories:
<DL> <DL>
<DT> <DT>
<CODE>sa</CODE> <CODE>sa</CODE>
<DD> <DD>
this contains cases that are standalone (as defined in XML) and do not this contains cases that are standalone (as defined in XML) and do not
have references to external general entities have references to external general entities
<DT> <DT>
<CODE>ext-sa</CODE> <CODE>ext-sa</CODE>
<DD> <DD>
this contains case that are standalone and have references to external this contains case that are standalone and have references to external
general entities general entities
<DT> <DT>
<CODE>not-sa</CODE> <CODE>not-sa</CODE>
<DD> <DD>
this contains cases that are not standalone this contains cases that are not standalone
</DL> </DL>
<P> <P>
In each directory, files with a <CODE>.xml</CODE> extension are the In each directory, files with a <CODE>.xml</CODE> extension are the
XML document test cases, and files with a <CODE>.ent</CODE> extension XML document test cases, and files with a <CODE>.ent</CODE> extension
are external entities referenced by the test cases. are external entities referenced by the test cases.
<P> <P>
Within the <CODE>valid</CODE> directory, each of these three Within the <CODE>valid</CODE> directory, each of these three
subdirectories has an <CODE>out</CODE> subdirectory which contains an subdirectories has an <CODE>out</CODE> subdirectory which contains an
equivalent <A HREF="canonxml.html">canonical XML</A> document for each equivalent <A HREF="canonxml.html">canonical XML</A> document for each
of the cases. of the cases.
<P> <P>
<P> <P>
Bug reports and contributions of new test cases are welcome. Bug reports and contributions of new test cases are welcome.
<P> <P>
<ADDRESS> <ADDRESS>
<A HREF="mailto:jjc@jclark.com">James Clark</A> <A HREF="mailto:jjc@jclark.com">James Clark</A>
</ADDRESS> </ADDRESS>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -54,4 +54,4 @@
<name>s</name> <name>s</name>
<link>http://search.xml.com</link> <link>http://search.xml.com</link>
</textinput> </textinput>
</rdf:RDF> </rdf:RDF>

View File

@ -6,7 +6,7 @@
.title { .title {
background-color: #663366; background-color: #663366;
font-size: large; font-size: large;
padding: 5px; padding: 5px;
color: #FFFFFF; color: #FFFFFF;
} }
@ -27,4 +27,4 @@
.error { .error {
color: red; color: red;
font-size: large; font-size: large;
} }

View File

@ -1,15 +1,12 @@
body { body {
margin-left: 10%; margin-left: 10%;
margin-right: 10%; margin-right: 10%;
} }
p { font-family: sans-serif } p { font-family: sans-serif; }
h1 { color: green } h1 { color: green; }
h2 { font-size: small } h2 { font-size: small; }
span.hot { color: red } span.hot { color: red; }