blob: 5d375e79f56f1393f3ebc95314573c2668d77953 (
plain)
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
|
/*
* This file is part of libdom.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
*
* This file contains the API used to validate whether certain element's
* name/namespace are legal according the XML 1.0 standard. See
*
* http://www.w3.org/TR/2004/REC-xml-20040204/
*
* for detail.
*/
#ifndef dom_utils_valid_h_
#define dom_utils_valid_h_
#include <stdbool.h>
struct dom_string;
bool _dom_validate_name(struct dom_string *name);
bool _dom_validate_ncname(struct dom_string *name);
#endif
|