XmlSchemaUtil.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. namespace System.Xml.Schema
  3. {
  4. /// <summary>
  5. /// Summary description for XmlSchemaUtil.
  6. /// </summary>
  7. public class XmlSchemaUtil
  8. {
  9. private XmlSchemaUtil()
  10. {}
  11. [MonoTODO]
  12. public static bool CheckID(string id)
  13. {
  14. //check if the string conforms to http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#ID
  15. return true;
  16. }
  17. [MonoTODO]
  18. public static bool CheckAnyUri(string uri)
  19. {
  20. //check if the string conforms to http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI
  21. return true;
  22. }
  23. public static bool CheckToken(string token)
  24. {
  25. //check if the string conforms to http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#token
  26. return true;
  27. }
  28. public static bool CheckLanguage(string lang)
  29. {
  30. //check if the string conforms to http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#language
  31. return true;
  32. }
  33. public static bool CheckNCName(string name)
  34. {
  35. //check if the string conforms to http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#NCName
  36. return true;
  37. }
  38. }
  39. }