[Smax-commit] SF.net SVN: smax: [10] trunk/smaxproto
Status: Alpha
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-01-17 06:32:23
|
Revision: 10
http://smax.svn.sourceforge.net/smax/?rev=10&view=rev
Author: dbrosius
Date: 2008-01-16 22:32:19 -0800 (Wed, 16 Jan 2008)
Log Message:
-----------
add directory for sf website
Added Paths:
-----------
trunk/smaxproto/htdocs/
trunk/smaxproto/htdocs/index.html
Added: trunk/smaxproto/htdocs/index.html
===================================================================
--- trunk/smaxproto/htdocs/index.html (rev 0)
+++ trunk/smaxproto/htdocs/index.html 2008-01-17 06:32:19 UTC (rev 10)
@@ -0,0 +1,45 @@
+<html>
+ <head>
+ <title>SMAXProto - Simple Mutated API for XML Prototype</title>
+ </head>
+ <body>
+ <h1>SMAXProto</h1>
+ <p>Thanks for your interested in SMAXProto.</p>
+ <p>After using SAX parsing for just few times, it becomes clear that often the
+ custom parser you write is only interested in a subset, and often a small subset,
+ of the entire document. Often, much of the content handler is determining where
+ you are in the tree, and ignore stuff you don't want. This project builds a
+ prototype that attempts to simplify filtering out what you don't want to handle,
+ thus simplifying the handler, and improving performance.</p>
+ <p><b>THIS IS A PROTOTYPE</b></p>
+ <p>A prototype should</p>
+ <ul>
+ <li>Be fun to do</li>
+ <li>Be quickly implemented</li>
+ <li>Do a decent job of showing the api</li>
+ <li>Show relative performance issues</li>
+ <li>Let you learn something new</li>
+ <li>Be so ridiculously implemented, that no one is tempted to build a real product with it</li>
+ </ul>
+ <p>Hopefully this prototype fulfills all of these tasks</p>
+ <p>SMAX follows the basic flavor of SAX. There are 3 key differences (at this point).<p>
+ <ol>
+ <li>startDocument and startElement return an enum value of type NextParserAction<br/>
+ Enum Values are:
+ <ol>
+ <li>ProcessChildren</li>
+ <li>ProcessChildElements</li>
+ <li>ProcessChildTextNodes</li>
+ <li>ProcessAttributes</li>
+ <li>SkipChildElements</li>
+ <li>SkipChildTextNodes</li>
+ <li>SkipAttributes</li>
+ <li>SkipChildren</li>
+ <li>Terminate</li>
+ </ol>
+ returning one of these values determines what further processing occurs
+ <li>startElement doesn't provide attributes</li>
+ <li>SMAX's ContentHandler provides an attributes method to implement to get attributes</li>
+ </ol>
+ </body>
+</html>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|