diff options
Diffstat (limited to 'WWW/Library/Implementation/HTMLDTD.h')
-rw-r--r-- | WWW/Library/Implementation/HTMLDTD.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTMLDTD.h b/WWW/Library/Implementation/HTMLDTD.h index 8b1cd4fb..9c81774a 100644 --- a/WWW/Library/Implementation/HTMLDTD.h +++ b/WWW/Library/Implementation/HTMLDTD.h @@ -28,6 +28,19 @@ #endif /* !LY_SOFT_HYPHEN */ /* +** Valid mane chars for tag parsing. +*/ +#define IsNmStart(c) (isalpha((unsigned char)c)) +#define IsNmChar(c) (isalnum((unsigned char)c) || \ + c == '_' || c=='-' || c == '.' || c==':') + + +#define ReallyEmptyTagNum(e) ((HTML_dtd.tags[e].contents == SGML_EMPTY) && \ + !(HTML_dtd.tags[e].flags & Tgf_nreie)) +#define ReallyEmptyTag(t) ((t->contents == SGML_EMPTY) && \ + !(t->flags & Tgf_nreie)) + +/* Element Numbers @@ -972,6 +985,7 @@ extern void HTSwitchDTD PARAMS(( BOOL new)); extern HTTag HTTag_unrecognized; +extern HTTag HTTag_mixedObject; /* @@ -993,6 +1007,13 @@ extern void HTStartAnchor PARAMS(( CONST char * name, CONST char * href)); +extern void HTStartAnchor5 PARAMS(( + HTStructured * targetstream, + CONST char * name, + CONST char * href, + CONST char * linktype, + int tag_charset)); + /* Start IsIndex element - FM |