Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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.  
  26.