File: syntax.html

package info (click to toggle)
hsc 0.916-2
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 2,584 kB
  • ctags: 2,277
  • sloc: ansic: 17,375; makefile: 396
file content (33 lines) | stat: -rw-r--r-- 1,894 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>hsc - Features - Syntax Check</TITLE>
<LINK REV="owns" TITLE="Thomas Aglassinger" HREF="mailto:agi@giga.or.at">
<LINK REL="Next" HREF="assign.html">
<LINK REL="Copyright" HREF="../copy.html">
<LINK REL="Previous" HREF="strip.html">
<META name="ROBOTS" content="NOINDEX, NOFOLLOW">
</HEAD>
<BODY>
<A HREF="../index.html"><IMG SRC="../image/main.gif" ALT="Contents" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<IMG SRC="../image/noindex.gif" ALT="-----" ALIGN="middle" WIDTH="70" HEIGHT="16">
<A HREF="../copy.html"><IMG SRC="../image/copy.gif" ALT="Copyright" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="../index.html"><IMG SRC="../image/back.gif" ALT="Up" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="strip.html"><IMG SRC="../image/prev.gif" ALT="Previous" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="assign.html"><IMG SRC="../image/next.gif" ALT="Next" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<HR>
<H1>Syntax Check</H1>
<P>When parsing your input, <KBD>hsc</KBD> performs a syntax check on it. It
tests for things like missing end-tags, illegal tag nesting or missing
required tags.It also tests attributes for tags, e.g. allowed values
for the <CODE>ALIGN</CODE> option of <CODE>&lt;IMG&gt;</CODE>. </P>
<P>However, the syntax check of <KBD>hsc</KBD> is not very powerful compared
to tools that only handle this task.</P>
<P>(<STRONG>Technical note</STRONG>: Most errors <KBD>hsc</KBD> handles are of the kind "Well, now a
have to program
this <CODE>if (..)</CODE> to avoid an enforcer hit/segmentation
fault, why not display an error message now..".)
<P>So if <KBD>hsc</KBD> does not report any syntax errors, it doesn't mean that
your source is 100% correct. For a more complete and strict test, take
a look at tools mentioned at <A HREF="../related.html">Related Stuff</A>.</P>
</BODY></HTML>