606592 update language ID parser to RFC 5646

Mostly except we keep support for some older constructs and
don't implement extension or privateuse. It's messy because
it's used mostly by XSD datatype which itself reference RFC 3066
and suggests a lexical space completely different from what
5646 defines.
1 file changed
tree: b1f3e7a5474016d14df6954834be07e9a9d93a93
  1. bakefile/
  2. doc/
  3. example/
  4. include/
  5. macos/
  6. optim/
  7. python/
  8. result/
  9. test/
  10. vms/
  11. VxWorks/
  12. win32/
  13. xstc/
  14. .cvsignore
  15. .gitignore
  16. acconfig.h
  17. acinclude.m4
  18. AUTHORS
  19. autogen.sh
  20. build_glob.py
  21. c14n.c
  22. catalog.c
  23. ChangeLog
  24. check-relaxng-test-suite.py
  25. check-relaxng-test-suite2.py
  26. check-xinclude-test-suite.py
  27. check-xml-test-suite.py
  28. check-xsddata-test-suite.py
  29. chvalid.c
  30. chvalid.def
  31. configure.in
  32. Copyright
  33. dbgen.pl
  34. dbgenattr.pl
  35. debugXML.c
  36. dict.c
  37. DOCBparser.c
  38. elfgcchack.h
  39. encoding.c
  40. entities.c
  41. error.c
  42. genChRanges.py
  43. gentest.py
  44. genUnicode.py
  45. global.data
  46. globals.c
  47. HACKING
  48. hash.c
  49. HTMLparser.c
  50. HTMLtree.c
  51. INSTALL.libxml2
  52. legacy.c
  53. libxml-2.0-uninstalled.pc.in
  54. libxml-2.0.pc.in
  55. libxml.3
  56. libxml.h
  57. libxml.m4
  58. libxml.spec.in
  59. libxml2.doap
  60. libxml2.syms
  61. list.c
  62. MAINTAINERS
  63. Makefile.am
  64. Makefile.tests
  65. Makefile.win
  66. nanoftp.c
  67. nanohttp.c
  68. NEWS
  69. parser.c
  70. parserInternals.c
  71. pattern.c
  72. README
  73. README.cvs-commits
  74. README.tests
  75. regressions.py
  76. regressions.xml
  77. relaxng.c
  78. rngparser.c
  79. runsuite.c
  80. runtest.c
  81. runxmlconf.c
  82. SAX.c
  83. SAX2.c
  84. schematron.c
  85. testapi.c
  86. testAutomata.c
  87. testC14N.c
  88. testchar.c
  89. testdict.c
  90. testdso.c
  91. testHTML.c
  92. testModule.c
  93. testOOM.c
  94. testOOMlib.c
  95. testOOMlib.h
  96. testReader.c
  97. testrecurse.c
  98. testRegexp.c
  99. testRelax.c
  100. testSAX.c
  101. testSchemas.c
  102. testThreads.c
  103. testThreadsWin32.c
  104. testURI.c
  105. testXPath.c
  106. threads.c
  107. TODO
  108. TODO_SCHEMAS
  109. tree.c
  110. trio.c
  111. trio.h
  112. triodef.h
  113. trionan.c
  114. trionan.h
  115. triop.h
  116. triostr.c
  117. triostr.h
  118. uri.c
  119. valid.c
  120. xinclude.c
  121. xlink.c
  122. xml2-config.1
  123. xml2-config.in
  124. xml2Conf.sh.in
  125. xmlcatalog.c
  126. xmlIO.c
  127. xmllint.c
  128. xmlmemory.c
  129. xmlmodule.c
  130. xmlreader.c
  131. xmlregexp.c
  132. xmlsave.c
  133. xmlschemas.c
  134. xmlschemastypes.c
  135. xmlstring.c
  136. xmlunicode.c
  137. xmlwriter.c
  138. xpath.c
  139. xpointer.c