-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfaq.html
More file actions
executable file
·275 lines (204 loc) · 10.7 KB
/
faq.html
File metadata and controls
executable file
·275 lines (204 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<!DOCTYPE html>
<html>
<head>
<title>attoparser: powerful and easy java parser for XML and HTML markup</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="powerful and easy java parser for XML and HTML markup" />
<meta name="author" content="Attoparser" />
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet" />
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet" />
<link href="css/google-code-prettify/prettify.css" rel="stylesheet" />
</head>
<body lang="en" dir="ltr" onload="prettyPrint()">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html"><img src="img/attoparser.png" alt="attoparser" /></a>
<div class="nav-collapse collapse">
<p class="navbar-text pull-right">
<img src="img/attoparser_motto.png" alt="powerful and easy java parser for XML and HTML markup" />
</p>
<ul class="nav">
<li><a href="index.html">home</a></li>
<li><a href="download.html">download</a></li>
<li><a href="usingattoparser.html">using attoparser</a></li>
<li><a href="javadoc.html">javadoc</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<!-- --------------------------------------------------------------------- -->
<!-- SIDEBAR -->
<!-- --------------------------------------------------------------------- -->
<div class="span2">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">ATTOPARSER</li>
<li><a href="index.html">home</a></li>
<li><a href="download.html">download</a></li>
<li class="nav-header">DOCS & HELP</li>
<li><a href="usingattoparser.html">using attoparser</a></li>
<li><a href="javadoc.html">javadoc API</a></li>
<li><a href="issuetracking.html">issue tracking</a></li>
<li><a href="license.html">license</a></li>
<li class="active"><a href="faq.html">faq</a></li>
<li><a href="team.html">team</a></li>
<li class="nav-header">SOURCE REPOSITORIES</li>
<li><a href="https://github.com/attoparser/attoparser">attoparser @GitHub</a></li>
</ul>
</div>
</div>
<!-- --------------------------------------------------------------------- -->
<!-- CONTENT -->
<!-- --------------------------------------------------------------------- -->
<div class="span10">
<h3>Frequently Asked Questions</h3>
<ul>
<li><b>About attoparser</b>
<ul>
<li><a href="#where-come-from">Where does attoparser come from? Is it made or backed by any software company?</a>.</li>
<li><a href="#does-offer-support">Does attoparser offer any type of commercial support?</a></li>
<li><a href="#is-it-stable">Is it stable? Can it be considered production-ready?</a></li>
<li><a href="#how-can-i-contribute">How can I contribute to attoparser?</a></li>
</ul>
</li>
<li><b>General</b>
<ul>
<li><a href="#is-SAX">Is attoparser a SAX parser?</a></li>
<li><a href="#use-snapshot">How can I use a SNAPSHOT release of attoparser?</a></li>
</ul>
</li>
</ul>
<hr />
<h3>About attoparser</h3>
<a id="where-come-from"></a><hr />
<h4>Where does attoparser come from? Is it made or backed by any software company?</h4>
<p>
attoparser is Open Source Software created in his spare time by a Spanish Software Engineer
called <a href="team.html">Daniel Fernández</a>, who's also the author
of other java libraries like <a href="http://www.thymeleaf.org">thymeleaf</a>,
<a href="http://www.jasypt.org">jasypt</a>, <a href="http://www.op4j.org">op4j</a>
or <a href="http://www.javatuples.org">javatuples</a>.
</p>
<p>
It is neither made nor backed
by any software (or any other type of) company, and it is offered to the public
totally free of charge, both in binary and in source code forms, under the <b>Apache License 2.0</b>.
</p>
<a id="does-offer-support"></a><hr />
<h4>Does attoparser offer any type of commercial support?</h4>
<p>
No, it does not. Commercial support is not offered at the moment, but
there is an <a href="https://github.com/attoparser/attoparser/issues">issue tracking system</a> at your disposal.
</p>
<a id="is-it-stable"></a><hr />
<h4>Is it stable? Can it be considered production-ready?</h4>
<p>
Yes, all stable (non-beta) releases can be considered production-ready.
</p>
<a id="how-can-i-contribute"></a><hr />
<h4>How can I contribute to attoparser?</h4>
<p>
In many ways:
</p>
<ul>
<li>You can write in the <a href="https://github.com/attoparser/attoparser/issues">issue
tracking system</a> (or directly to the <a href="team.html">Team</a>) with your
ideas for improving attoparser.</li>
<li>You can contribute some code, write a patch for a new feature
or behaviour (please, tell the project admins first about your idea so
that effort can be adequately coordinated).</li>
<li>You can write articles, reviews, blog posts, etc. about attoparser, showing
how it works or how it integrates with other technologies.</li>
<li>You can promote attoparser in your company/work and among your colleague developers.</li>
</ul>
<p>
If you want to contribute some code to attoparser, please read first the
page on <a href="contributing.html">Contributing to attoparser</a>.
</p>
<hr />
<h2>General</h2>
<a id="is-SAX"></a><hr />
<h3>Is attoparser a SAX parser?</h3>
<p>
Strictly speaking, no, it isn't, because it does not implement the standard SAX API.
</p>
<p>
But it is a <em>SAX-style</em> parser in the sense that it works in a similar way to standard
SAX parsers, this is, by triggering <em>parsing events</em> like <em>element</em>, <em>attribute</em>,
<em>text</em>, <em>document start</em>, etc. so that they can be handled by specifically created
<em>handler methods</em>. This contrasts with the way DOM parsers work, which
parse entire documents and convert them into DOM (Document Object Model) node trees before
returning control to the user.
</p>
<a id="use-snapshot"></a><hr />
<h3>How can I use a SNAPSHOT release of attoparser?</h3>
<p>
From time to time, attoparser will produce a <i>snapshot</i> release that will allow
you to test new or being-developed features. These are <b>non production ready</b>
releases, but will be stable enough for most testing purposes, and will enable you
to try new features before they are generally available.
</p>
<p>
In order to use snapshot releases, you need to add the Sonatype OSS Snapshots
repository in your Maven <kbd>pom.xml</kbd> file, like this:
</p>
<pre class="prettyprint linenums language-xml">
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url><b>https://oss.sonatype.org/content/repositories/snapshots</b></url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</pre>
<p>
Also, you will have to modify your attoparser dependency/ies to use a
<i>snapshot version</i>, which usually consists of the version number of the
<b>next</b> release (not the current one), followed by <kbd>-SNAPSHOT</kbd>.
For example, while <kbd>2.0.7.RELEASE</kbd> is the latest published stable release,
snapshots will probably appear under the <kbd>2.0.8-SNAPSHOT</kbd> or
maybe <kbd>2.1.0-SNAPSHOT</kbd> version numbers:
</p>
<pre class="prettyprint linenums language-xml">
<dependency>
<groupId>org.attoparser</groupId>
<artifactId>attoparser</artifactId>
<version><b>2.0.8-SNAPSHOT</b></version>
<scope>compile</scope>
</dependency>
</pre>
</div>
</div>
<hr />
<footer>
<p>Copyright © <a href="team.html">Attoparser</a>.</p>
</footer>
</div>
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/google-code-prettify/prettify.js"></script>
</body>
</html>