libdom
Loading...
Searching...
No Matches
src
utils
validate.h
Go to the documentation of this file.
1
/*
2
* This file is part of libdom.
3
* Licensed under the MIT License,
4
* http://www.opensource.org/licenses/mit-license.php
5
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
6
*
7
* This file contains the API used to validate whether certain element's
8
* name/namespace are legal according the XML 1.0 standard. See
9
*
10
* http://www.w3.org/TR/2004/REC-xml-20040204/
11
*
12
* for detail.
13
*/
14
15
#ifndef dom_utils_valid_h_
16
#define dom_utils_valid_h_
17
18
#include <stdbool.h>
19
#include <
dom/core/string.h
>
20
21
bool
_dom_validate_name
(
dom_string
*name);
22
bool
_dom_validate_ncname
(
dom_string
*name);
23
24
#endif
25
string.h
dom_string
Definition
string.h:19
_dom_validate_name
bool _dom_validate_name(dom_string *name)
Definition
validate.c:100
_dom_validate_ncname
bool _dom_validate_ncname(dom_string *name)
Definition
validate.c:151
Generated on Sat Oct 19 2024 20:08:27 for libdom by
1.10.0