| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <samples xmlns:xlink="http://www.w3.org/1999/xlink" name="Slop Block Samples"> |
| |
| <group name="Back"> |
| <sample name="Back" href="../..">to Cocoon Samples main page</sample> |
| <sample name="Back" href="..">to Cocoon Blocks Samples main page</sample> |
| <note> |
| As of August 6, 2003 the SlopGenerator (Simple Line Oriented Parser) |
| is functional but somewhat limited. |
| RFC822 parsing does not properly take continuation lines |
| (like "by..." after Received-From) into account, and a specific |
| rfc822 mode should be implemented to avoid parsing the message body. |
| On the other hand, the code is very simple and thus should be quite fast. |
| </note> |
| </group> |
| |
| <group name="Javateach - simple literate programming"> |
| <sample name="SomeTest.html" href="javateach/org/nothing/SomeTest.html"> |
| HTML page, mixing teaching comments with source code |
| </sample> |
| <sample name="SomeTest.java" href="javateach/org/nothing/SomeTest.java"> |
| original source file |
| </sample> |
| <sample name="SomeTest.xml" href="javateach/org/nothing/SomeTest.xml"> |
| SlopGenerator output |
| </sample> |
| </group> |
| |
| <group name="Email parsing using SLOP"> |
| <sample name="email-example.txt" href="email-example.txt"> |
| original source file |
| </sample> |
| <sample name="email-example.xml" href="rfc822/email-example.xml"> |
| XML result of parsing an RFC 822 message |
| </sample> |
| </group> |
| |
| <group name="Test catalog example"> |
| <sample name="tc-example.txt" href="tc-example.txt"> |
| original source file |
| </sample> |
| <sample name="tc-example.xml" href="tc/tc-example.xml"> |
| Example using Slop to describe interactive tests easily using ASCII files |
| </sample> |
| </group> |
| |
| <group name="Special characters"> |
| <sample name="special.chars.txt" href="special-chars.txt"> |
| original source file |
| </sample> |
| <sample name="special.chars.xml" href="test/special-chars.xml"> |
| Test Slop with special and accented characters |
| </sample> |
| </group> |
| |
| </samples> |
| |