pygments.rb 0.6.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +11 -0
- data/README.md +6 -6
- data/Rakefile +2 -1
- data/cache-lexers.rb +1 -1
- data/circle.yml +7 -0
- data/lib/pygments/lexer.rb +3 -3
- data/lib/pygments/popen.rb +67 -30
- data/lib/pygments/version.rb +1 -1
- data/pygments.rb.gemspec +2 -1
- data/test/test_pygments.rb +16 -16
- data/vendor/pygments-main/AUTHORS +54 -8
- data/vendor/pygments-main/CHANGES +247 -25
- data/vendor/pygments-main/LICENSE +1 -1
- data/vendor/pygments-main/Makefile +15 -6
- data/vendor/pygments-main/README.rst +39 -0
- data/vendor/pygments-main/REVISION +1 -1
- data/vendor/pygments-main/TODO +0 -3
- data/vendor/pygments-main/doc/_themes/pygments14/layout.html +1 -1
- data/vendor/pygments-main/doc/_themes/pygments14/static/pygments14.css_t +1 -1
- data/vendor/pygments-main/doc/conf.py +3 -11
- data/vendor/pygments-main/doc/docs/api.rst +15 -0
- data/vendor/pygments-main/doc/docs/cmdline.rst +6 -2
- data/vendor/pygments-main/doc/docs/filterdevelopment.rst +4 -3
- data/vendor/pygments-main/doc/docs/integrate.rst +11 -15
- data/vendor/pygments-main/doc/docs/java.rst +7 -7
- data/vendor/pygments-main/doc/docs/lexerdevelopment.rst +258 -171
- data/vendor/pygments-main/doc/docs/lexers.rst +2 -2
- data/vendor/pygments-main/doc/docs/styles.rst +58 -0
- data/vendor/pygments-main/doc/docs/tokens.rst +22 -2
- data/vendor/pygments-main/doc/docs/unicode.rst +15 -7
- data/vendor/pygments-main/doc/faq.rst +17 -21
- data/vendor/pygments-main/doc/index.rst +12 -11
- data/vendor/pygments-main/doc/languages.rst +10 -7
- data/vendor/pygments-main/external/autopygmentize +9 -6
- data/vendor/pygments-main/external/lasso-builtins-generator-9.lasso +70 -52
- data/vendor/pygments-main/external/markdown-processor.py +1 -1
- data/vendor/pygments-main/external/moin-parser.py +1 -1
- data/vendor/pygments-main/external/rst-directive.py +1 -1
- data/vendor/pygments-main/pygmentize +2 -1
- data/vendor/pygments-main/pygments/__init__.py +14 -15
- data/vendor/pygments-main/pygments/cmdline.py +188 -113
- data/vendor/pygments-main/pygments/console.py +13 -13
- data/vendor/pygments-main/pygments/filter.py +7 -7
- data/vendor/pygments-main/pygments/filters/__init__.py +24 -32
- data/vendor/pygments-main/pygments/formatter.py +5 -5
- data/vendor/pygments-main/pygments/formatters/__init__.py +92 -44
- data/vendor/pygments-main/pygments/formatters/_mapping.py +51 -69
- data/vendor/pygments-main/pygments/formatters/bbcode.py +1 -1
- data/vendor/pygments-main/pygments/formatters/html.py +63 -51
- data/vendor/pygments-main/pygments/formatters/img.py +25 -22
- data/vendor/pygments-main/pygments/formatters/irc.py +182 -0
- data/vendor/pygments-main/pygments/formatters/latex.py +34 -22
- data/vendor/pygments-main/pygments/formatters/other.py +5 -7
- data/vendor/pygments-main/pygments/formatters/rtf.py +28 -31
- data/vendor/pygments-main/pygments/formatters/svg.py +1 -2
- data/vendor/pygments-main/pygments/formatters/terminal.py +29 -45
- data/vendor/pygments-main/pygments/formatters/terminal256.py +118 -31
- data/vendor/pygments-main/pygments/lexer.py +120 -34
- data/vendor/pygments-main/pygments/lexers/__init__.py +85 -53
- data/vendor/pygments-main/pygments/lexers/{_asybuiltins.py → _asy_builtins.py} +7 -7
- data/vendor/pygments-main/pygments/lexers/{_clbuiltins.py → _cl_builtins.py} +17 -17
- data/vendor/pygments-main/pygments/lexers/_cocoa_builtins.py +72 -0
- data/vendor/pygments-main/pygments/lexers/_csound_builtins.py +1346 -0
- data/vendor/pygments-main/pygments/lexers/{_lassobuiltins.py → _lasso_builtins.py} +4699 -4561
- data/vendor/pygments-main/pygments/lexers/{_luabuiltins.py → _lua_builtins.py} +91 -51
- data/vendor/pygments-main/pygments/lexers/_mapping.py +342 -242
- data/vendor/pygments-main/pygments/lexers/_mql_builtins.py +1172 -0
- data/vendor/pygments-main/pygments/lexers/_openedge_builtins.py +2547 -0
- data/vendor/pygments-main/pygments/lexers/{_phpbuiltins.py → _php_builtins.py} +350 -353
- data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +600 -212
- data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +3084 -30
- data/vendor/pygments-main/pygments/lexers/_sourcemod_builtins.py +1163 -0
- data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +91 -13
- data/vendor/pygments-main/pygments/lexers/_stata_builtins.py +419 -0
- data/vendor/pygments-main/pygments/lexers/_tsql_builtins.py +1004 -0
- data/vendor/pygments-main/pygments/lexers/_vim_builtins.py +1939 -0
- data/vendor/pygments-main/pygments/lexers/actionscript.py +240 -0
- data/vendor/pygments-main/pygments/lexers/agile.py +14 -2542
- data/vendor/pygments-main/pygments/lexers/algebra.py +221 -0
- data/vendor/pygments-main/pygments/lexers/ambient.py +76 -0
- data/vendor/pygments-main/pygments/lexers/ampl.py +87 -0
- data/vendor/pygments-main/pygments/lexers/apl.py +101 -0
- data/vendor/pygments-main/pygments/lexers/archetype.py +318 -0
- data/vendor/pygments-main/pygments/lexers/asm.py +276 -81
- data/vendor/pygments-main/pygments/lexers/automation.py +374 -0
- data/vendor/pygments-main/pygments/lexers/basic.py +500 -0
- data/vendor/pygments-main/pygments/lexers/bibtex.py +156 -0
- data/vendor/pygments-main/pygments/lexers/business.py +594 -0
- data/vendor/pygments-main/pygments/lexers/c_cpp.py +252 -0
- data/vendor/pygments-main/pygments/lexers/c_like.py +541 -0
- data/vendor/pygments-main/pygments/lexers/capnproto.py +79 -0
- data/vendor/pygments-main/pygments/lexers/chapel.py +101 -0
- data/vendor/pygments-main/pygments/lexers/clean.py +288 -0
- data/vendor/pygments-main/pygments/lexers/compiled.py +24 -5182
- data/vendor/pygments-main/pygments/lexers/configs.py +833 -0
- data/vendor/pygments-main/pygments/lexers/console.py +114 -0
- data/vendor/pygments-main/pygments/lexers/crystal.py +384 -0
- data/vendor/pygments-main/pygments/lexers/csound.py +366 -0
- data/vendor/pygments-main/pygments/lexers/css.py +689 -0
- data/vendor/pygments-main/pygments/lexers/d.py +251 -0
- data/vendor/pygments-main/pygments/lexers/dalvik.py +6 -6
- data/vendor/pygments-main/pygments/lexers/data.py +555 -0
- data/vendor/pygments-main/pygments/lexers/diff.py +165 -0
- data/vendor/pygments-main/pygments/lexers/dotnet.py +96 -88
- data/vendor/pygments-main/pygments/lexers/dsls.py +878 -0
- data/vendor/pygments-main/pygments/lexers/dylan.py +289 -0
- data/vendor/pygments-main/pygments/lexers/ecl.py +125 -0
- data/vendor/pygments-main/pygments/lexers/eiffel.py +65 -0
- data/vendor/pygments-main/pygments/lexers/elm.py +121 -0
- data/vendor/pygments-main/pygments/lexers/erlang.py +533 -0
- data/vendor/pygments-main/pygments/lexers/esoteric.py +275 -0
- data/vendor/pygments-main/pygments/lexers/ezhil.py +68 -0
- data/vendor/pygments-main/pygments/lexers/factor.py +344 -0
- data/vendor/pygments-main/pygments/lexers/fantom.py +250 -0
- data/vendor/pygments-main/pygments/lexers/felix.py +273 -0
- data/vendor/pygments-main/pygments/lexers/forth.py +177 -0
- data/vendor/pygments-main/pygments/lexers/fortran.py +205 -0
- data/vendor/pygments-main/pygments/lexers/foxpro.py +1 -1
- data/vendor/pygments-main/pygments/lexers/functional.py +11 -3661
- data/vendor/pygments-main/pygments/lexers/go.py +101 -0
- data/vendor/pygments-main/pygments/lexers/grammar_notation.py +213 -0
- data/vendor/pygments-main/pygments/lexers/graph.py +7 -8
- data/vendor/pygments-main/pygments/lexers/graphics.py +553 -0
- data/vendor/pygments-main/pygments/lexers/haskell.py +840 -0
- data/vendor/pygments-main/pygments/lexers/haxe.py +936 -0
- data/vendor/pygments-main/pygments/lexers/hdl.py +172 -145
- data/vendor/pygments-main/pygments/lexers/hexdump.py +97 -0
- data/vendor/pygments-main/pygments/lexers/html.py +602 -0
- data/vendor/pygments-main/pygments/lexers/idl.py +270 -0
- data/vendor/pygments-main/pygments/lexers/igor.py +288 -0
- data/vendor/pygments-main/pygments/lexers/inferno.py +3 -3
- data/vendor/pygments-main/pygments/lexers/installers.py +322 -0
- data/vendor/pygments-main/pygments/lexers/int_fiction.py +1343 -0
- data/vendor/pygments-main/pygments/lexers/iolang.py +63 -0
- data/vendor/pygments-main/pygments/lexers/j.py +146 -0
- data/vendor/pygments-main/pygments/lexers/javascript.py +1506 -0
- data/vendor/pygments-main/pygments/lexers/julia.py +333 -0
- data/vendor/pygments-main/pygments/lexers/jvm.py +232 -186
- data/vendor/pygments-main/pygments/lexers/lisp.py +2621 -0
- data/vendor/pygments-main/pygments/lexers/make.py +202 -0
- data/vendor/pygments-main/pygments/lexers/markup.py +595 -0
- data/vendor/pygments-main/pygments/lexers/math.py +11 -2276
- data/vendor/pygments-main/pygments/lexers/matlab.py +663 -0
- data/vendor/pygments-main/pygments/lexers/ml.py +769 -0
- data/vendor/pygments-main/pygments/lexers/modeling.py +358 -0
- data/vendor/pygments-main/pygments/lexers/modula2.py +1561 -0
- data/vendor/pygments-main/pygments/lexers/monte.py +203 -0
- data/vendor/pygments-main/pygments/lexers/ncl.py +1053 -0
- data/vendor/pygments-main/pygments/lexers/nimrod.py +159 -0
- data/vendor/pygments-main/pygments/lexers/nit.py +64 -0
- data/vendor/pygments-main/pygments/lexers/nix.py +136 -0
- data/vendor/pygments-main/pygments/lexers/oberon.py +105 -0
- data/vendor/pygments-main/pygments/lexers/objective.py +504 -0
- data/vendor/pygments-main/pygments/lexers/ooc.py +85 -0
- data/vendor/pygments-main/pygments/lexers/other.py +30 -4481
- data/vendor/pygments-main/pygments/lexers/parasail.py +79 -0
- data/vendor/pygments-main/pygments/lexers/parsers.py +171 -114
- data/vendor/pygments-main/pygments/lexers/pascal.py +644 -0
- data/vendor/pygments-main/pygments/lexers/pawn.py +199 -0
- data/vendor/pygments-main/pygments/lexers/perl.py +616 -0
- data/vendor/pygments-main/pygments/lexers/php.py +267 -0
- data/vendor/pygments-main/pygments/lexers/praat.py +294 -0
- data/vendor/pygments-main/pygments/lexers/prolog.py +306 -0
- data/vendor/pygments-main/pygments/lexers/python.py +938 -0
- data/vendor/pygments-main/pygments/lexers/qvt.py +152 -0
- data/vendor/pygments-main/pygments/lexers/r.py +453 -0
- data/vendor/pygments-main/pygments/lexers/rdf.py +195 -24
- data/vendor/pygments-main/pygments/lexers/rebol.py +431 -0
- data/vendor/pygments-main/pygments/lexers/resource.py +85 -0
- data/vendor/pygments-main/pygments/lexers/rnc.py +67 -0
- data/vendor/pygments-main/pygments/lexers/roboconf.py +82 -0
- data/vendor/pygments-main/pygments/lexers/{_robotframeworklexer.py → robotframework.py} +20 -18
- data/vendor/pygments-main/pygments/lexers/ruby.py +519 -0
- data/vendor/pygments-main/pygments/lexers/rust.py +209 -0
- data/vendor/pygments-main/pygments/lexers/sas.py +228 -0
- data/vendor/pygments-main/pygments/lexers/scripting.py +1222 -0
- data/vendor/pygments-main/pygments/lexers/shell.py +478 -115
- data/vendor/pygments-main/pygments/lexers/smalltalk.py +195 -0
- data/vendor/pygments-main/pygments/lexers/smv.py +75 -0
- data/vendor/pygments-main/pygments/lexers/snobol.py +83 -0
- data/vendor/pygments-main/pygments/lexers/special.py +6 -2
- data/vendor/pygments-main/pygments/lexers/sql.py +209 -120
- data/vendor/pygments-main/pygments/lexers/stata.py +106 -0
- data/vendor/pygments-main/pygments/lexers/supercollider.py +90 -0
- data/vendor/pygments-main/pygments/lexers/tcl.py +145 -0
- data/vendor/pygments-main/pygments/lexers/templates.py +282 -90
- data/vendor/pygments-main/pygments/lexers/testing.py +207 -0
- data/vendor/pygments-main/pygments/lexers/text.py +15 -2045
- data/vendor/pygments-main/pygments/lexers/textedit.py +169 -0
- data/vendor/pygments-main/pygments/lexers/textfmts.py +297 -0
- data/vendor/pygments-main/pygments/lexers/theorem.py +458 -0
- data/vendor/pygments-main/pygments/lexers/trafficscript.py +54 -0
- data/vendor/pygments-main/pygments/lexers/typoscript.py +225 -0
- data/vendor/pygments-main/pygments/lexers/urbi.py +133 -0
- data/vendor/pygments-main/pygments/lexers/varnish.py +190 -0
- data/vendor/pygments-main/pygments/lexers/verification.py +111 -0
- data/vendor/pygments-main/pygments/lexers/web.py +13 -4499
- data/vendor/pygments-main/pygments/lexers/webmisc.py +979 -0
- data/vendor/pygments-main/pygments/lexers/whiley.py +117 -0
- data/vendor/pygments-main/pygments/lexers/x10.py +69 -0
- data/vendor/pygments-main/pygments/modeline.py +5 -2
- data/vendor/pygments-main/pygments/plugin.py +1 -1
- data/vendor/pygments-main/pygments/regexopt.py +92 -0
- data/vendor/pygments-main/pygments/scanner.py +3 -2
- data/vendor/pygments-main/pygments/sphinxext.py +11 -6
- data/vendor/pygments-main/pygments/style.py +41 -4
- data/vendor/pygments-main/pygments/styles/__init__.py +5 -1
- data/vendor/pygments-main/pygments/styles/algol.py +63 -0
- data/vendor/pygments-main/pygments/styles/algol_nu.py +63 -0
- data/vendor/pygments-main/pygments/styles/arduino.py +98 -0
- data/vendor/pygments-main/pygments/styles/autumn.py +1 -1
- data/vendor/pygments-main/pygments/styles/borland.py +1 -1
- data/vendor/pygments-main/pygments/styles/bw.py +1 -1
- data/vendor/pygments-main/pygments/styles/colorful.py +1 -1
- data/vendor/pygments-main/pygments/styles/default.py +1 -1
- data/vendor/pygments-main/pygments/styles/emacs.py +1 -1
- data/vendor/pygments-main/pygments/styles/friendly.py +1 -1
- data/vendor/pygments-main/pygments/styles/fruity.py +1 -1
- data/vendor/pygments-main/pygments/styles/igor.py +1 -1
- data/vendor/pygments-main/pygments/styles/lovelace.py +97 -0
- data/vendor/pygments-main/pygments/styles/manni.py +1 -1
- data/vendor/pygments-main/pygments/styles/monokai.py +1 -1
- data/vendor/pygments-main/pygments/styles/murphy.py +1 -1
- data/vendor/pygments-main/pygments/styles/native.py +1 -1
- data/vendor/pygments-main/pygments/styles/paraiso_dark.py +1 -1
- data/vendor/pygments-main/pygments/styles/paraiso_light.py +1 -1
- data/vendor/pygments-main/pygments/styles/pastie.py +1 -1
- data/vendor/pygments-main/pygments/styles/perldoc.py +2 -2
- data/vendor/pygments-main/pygments/styles/rrt.py +1 -1
- data/vendor/pygments-main/pygments/styles/sas.py +41 -0
- data/vendor/pygments-main/pygments/styles/stata.py +37 -0
- data/vendor/pygments-main/pygments/styles/tango.py +1 -1
- data/vendor/pygments-main/pygments/styles/trac.py +1 -1
- data/vendor/pygments-main/pygments/styles/vim.py +1 -1
- data/vendor/pygments-main/pygments/styles/vs.py +1 -1
- data/vendor/pygments-main/pygments/styles/xcode.py +1 -1
- data/vendor/pygments-main/pygments/token.py +31 -16
- data/vendor/pygments-main/pygments/unistring.py +141 -65
- data/vendor/pygments-main/pygments/util.py +129 -33
- data/vendor/pygments-main/requirements.txt +5 -0
- data/vendor/pygments-main/scripts/check_sources.py +25 -40
- data/vendor/pygments-main/scripts/debug_lexer.py +246 -0
- data/vendor/pygments-main/scripts/find_error.py +1 -0
- data/vendor/pygments-main/scripts/get_vimkw.py +35 -4
- data/vendor/pygments-main/setup.cfg +3 -0
- data/vendor/pygments-main/setup.py +17 -30
- data/vendor/pygments-main/tox.ini +7 -0
- metadata +159 -387
- data/vendor/pygments-main/ez_setup.py +0 -382
- data/vendor/pygments-main/pygments/lexers/_cocoabuiltins.py +0 -73
- data/vendor/pygments-main/pygments/lexers/_openedgebuiltins.py +0 -562
- data/vendor/pygments-main/pygments/lexers/_sourcemodbuiltins.py +0 -1077
- data/vendor/pygments-main/pygments/lexers/_vimbuiltins.py +0 -13
- data/vendor/pygments-main/pygments/lexers/qbasic.py +0 -157
- data/vendor/pygments-main/scripts/find_codetags.py +0 -213
- data/vendor/pygments-main/scripts/find_error.py +0 -173
- data/vendor/pygments-main/tests/dtds/HTML4-f.dtd +0 -37
- data/vendor/pygments-main/tests/dtds/HTML4-s.dtd +0 -869
- data/vendor/pygments-main/tests/dtds/HTML4.dcl +0 -88
- data/vendor/pygments-main/tests/dtds/HTML4.dtd +0 -1092
- data/vendor/pygments-main/tests/dtds/HTML4.soc +0 -9
- data/vendor/pygments-main/tests/dtds/HTMLlat1.ent +0 -195
- data/vendor/pygments-main/tests/dtds/HTMLspec.ent +0 -77
- data/vendor/pygments-main/tests/dtds/HTMLsym.ent +0 -241
- data/vendor/pygments-main/tests/examplefiles/99_bottles_of_beer.chpl +0 -118
- data/vendor/pygments-main/tests/examplefiles/AcidStateAdvanced.hs +0 -209
- data/vendor/pygments-main/tests/examplefiles/AlternatingGroup.mu +0 -102
- data/vendor/pygments-main/tests/examplefiles/BOM.js +0 -1
- data/vendor/pygments-main/tests/examplefiles/CPDictionary.j +0 -611
- data/vendor/pygments-main/tests/examplefiles/Config.in.cache +0 -1973
- data/vendor/pygments-main/tests/examplefiles/Constants.mo +0 -158
- data/vendor/pygments-main/tests/examplefiles/DancingSudoku.lhs +0 -411
- data/vendor/pygments-main/tests/examplefiles/Deflate.fs +0 -578
- data/vendor/pygments-main/tests/examplefiles/Error.pmod +0 -38
- data/vendor/pygments-main/tests/examplefiles/Errors.scala +0 -18
- data/vendor/pygments-main/tests/examplefiles/FakeFile.pike +0 -360
- data/vendor/pygments-main/tests/examplefiles/Get-CommandDefinitionHtml.ps1 +0 -66
- data/vendor/pygments-main/tests/examplefiles/IPDispatchC.nc +0 -104
- data/vendor/pygments-main/tests/examplefiles/IPDispatchP.nc +0 -671
- data/vendor/pygments-main/tests/examplefiles/Intro.java +0 -1660
- data/vendor/pygments-main/tests/examplefiles/Makefile +0 -1131
- data/vendor/pygments-main/tests/examplefiles/Object.st +0 -4394
- data/vendor/pygments-main/tests/examplefiles/OrderedMap.hx +0 -584
- data/vendor/pygments-main/tests/examplefiles/RoleQ.pm6 +0 -23
- data/vendor/pygments-main/tests/examplefiles/SmallCheck.hs +0 -378
- data/vendor/pygments-main/tests/examplefiles/Sorting.mod +0 -470
- data/vendor/pygments-main/tests/examplefiles/Sudoku.lhs +0 -382
- data/vendor/pygments-main/tests/examplefiles/addressbook.proto +0 -30
- data/vendor/pygments-main/tests/examplefiles/antlr_ANTLRv3.g +0 -608
- data/vendor/pygments-main/tests/examplefiles/antlr_throws +0 -1
- data/vendor/pygments-main/tests/examplefiles/apache2.conf +0 -393
- data/vendor/pygments-main/tests/examplefiles/as3_test.as +0 -143
- data/vendor/pygments-main/tests/examplefiles/as3_test2.as +0 -46
- data/vendor/pygments-main/tests/examplefiles/as3_test3.as +0 -3
- data/vendor/pygments-main/tests/examplefiles/aspx-cs_example +0 -27
- data/vendor/pygments-main/tests/examplefiles/autoit_submit.au3 +0 -25
- data/vendor/pygments-main/tests/examplefiles/badcase.java +0 -2
- data/vendor/pygments-main/tests/examplefiles/batchfile.bat +0 -49
- data/vendor/pygments-main/tests/examplefiles/bigtest.nsi +0 -308
- data/vendor/pygments-main/tests/examplefiles/boot-9.scm +0 -1557
- data/vendor/pygments-main/tests/examplefiles/ca65_example +0 -284
- data/vendor/pygments-main/tests/examplefiles/cbmbas_example +0 -9
- data/vendor/pygments-main/tests/examplefiles/cells.ps +0 -515
- data/vendor/pygments-main/tests/examplefiles/ceval.c +0 -2604
- data/vendor/pygments-main/tests/examplefiles/cheetah_example.html +0 -13
- data/vendor/pygments-main/tests/examplefiles/classes.dylan +0 -125
- data/vendor/pygments-main/tests/examplefiles/clojure-weird-keywords.clj +0 -5
- data/vendor/pygments-main/tests/examplefiles/condensed_ruby.rb +0 -10
- data/vendor/pygments-main/tests/examplefiles/coq_RelationClasses +0 -447
- data/vendor/pygments-main/tests/examplefiles/core.cljs +0 -52
- data/vendor/pygments-main/tests/examplefiles/database.pytb +0 -20
- data/vendor/pygments-main/tests/examplefiles/de.MoinMoin.po +0 -2461
- data/vendor/pygments-main/tests/examplefiles/demo.ahk +0 -181
- data/vendor/pygments-main/tests/examplefiles/demo.cfm +0 -50
- data/vendor/pygments-main/tests/examplefiles/demo.hbs +0 -12
- data/vendor/pygments-main/tests/examplefiles/django_sample.html+django +0 -68
- data/vendor/pygments-main/tests/examplefiles/dwarf.cw +0 -17
- data/vendor/pygments-main/tests/examplefiles/ember.handlebars +0 -33
- data/vendor/pygments-main/tests/examplefiles/erl_session +0 -10
- data/vendor/pygments-main/tests/examplefiles/escape_semicolon.clj +0 -1
- data/vendor/pygments-main/tests/examplefiles/evil_regex.js +0 -48
- data/vendor/pygments-main/tests/examplefiles/example.Rd +0 -78
- data/vendor/pygments-main/tests/examplefiles/example.als +0 -217
- data/vendor/pygments-main/tests/examplefiles/example.bug +0 -54
- data/vendor/pygments-main/tests/examplefiles/example.c +0 -2080
- data/vendor/pygments-main/tests/examplefiles/example.ceylon +0 -52
- data/vendor/pygments-main/tests/examplefiles/example.chai +0 -6
- data/vendor/pygments-main/tests/examplefiles/example.clay +0 -33
- data/vendor/pygments-main/tests/examplefiles/example.cls +0 -15
- data/vendor/pygments-main/tests/examplefiles/example.cob +0 -3556
- data/vendor/pygments-main/tests/examplefiles/example.coffee +0 -27
- data/vendor/pygments-main/tests/examplefiles/example.cpp +0 -2363
- data/vendor/pygments-main/tests/examplefiles/example.e +0 -124
- data/vendor/pygments-main/tests/examplefiles/example.f90 +0 -8
- data/vendor/pygments-main/tests/examplefiles/example.feature +0 -16
- data/vendor/pygments-main/tests/examplefiles/example.gd +0 -23
- data/vendor/pygments-main/tests/examplefiles/example.gi +0 -64
- data/vendor/pygments-main/tests/examplefiles/example.groovy +0 -2
- data/vendor/pygments-main/tests/examplefiles/example.gs +0 -106
- data/vendor/pygments-main/tests/examplefiles/example.gst +0 -7
- data/vendor/pygments-main/tests/examplefiles/example.hs +0 -27
- data/vendor/pygments-main/tests/examplefiles/example.hx +0 -185
- data/vendor/pygments-main/tests/examplefiles/example.i6t +0 -32
- data/vendor/pygments-main/tests/examplefiles/example.i7x +0 -45
- data/vendor/pygments-main/tests/examplefiles/example.inf +0 -374
- data/vendor/pygments-main/tests/examplefiles/example.j +0 -564
- data/vendor/pygments-main/tests/examplefiles/example.jag +0 -48
- data/vendor/pygments-main/tests/examplefiles/example.java +0 -16
- data/vendor/pygments-main/tests/examplefiles/example.kal +0 -75
- data/vendor/pygments-main/tests/examplefiles/example.kt +0 -47
- data/vendor/pygments-main/tests/examplefiles/example.lagda +0 -19
- data/vendor/pygments-main/tests/examplefiles/example.liquid +0 -42
- data/vendor/pygments-main/tests/examplefiles/example.lua +0 -250
- data/vendor/pygments-main/tests/examplefiles/example.ma +0 -8
- data/vendor/pygments-main/tests/examplefiles/example.monkey +0 -152
- data/vendor/pygments-main/tests/examplefiles/example.moo +0 -26
- data/vendor/pygments-main/tests/examplefiles/example.moon +0 -629
- data/vendor/pygments-main/tests/examplefiles/example.mq4 +0 -187
- data/vendor/pygments-main/tests/examplefiles/example.mqh +0 -123
- data/vendor/pygments-main/tests/examplefiles/example.msc +0 -43
- data/vendor/pygments-main/tests/examplefiles/example.ni +0 -57
- data/vendor/pygments-main/tests/examplefiles/example.nim +0 -1010
- data/vendor/pygments-main/tests/examplefiles/example.nix +0 -80
- data/vendor/pygments-main/tests/examplefiles/example.ns2 +0 -69
- data/vendor/pygments-main/tests/examplefiles/example.pas +0 -2708
- data/vendor/pygments-main/tests/examplefiles/example.pp +0 -8
- data/vendor/pygments-main/tests/examplefiles/example.prg +0 -161
- data/vendor/pygments-main/tests/examplefiles/example.rb +0 -1852
- data/vendor/pygments-main/tests/examplefiles/example.red +0 -257
- data/vendor/pygments-main/tests/examplefiles/example.reds +0 -150
- data/vendor/pygments-main/tests/examplefiles/example.reg +0 -19
- data/vendor/pygments-main/tests/examplefiles/example.rexx +0 -50
- data/vendor/pygments-main/tests/examplefiles/example.rhtml +0 -561
- data/vendor/pygments-main/tests/examplefiles/example.rkt +0 -743
- data/vendor/pygments-main/tests/examplefiles/example.rpf +0 -4
- data/vendor/pygments-main/tests/examplefiles/example.sh +0 -22
- data/vendor/pygments-main/tests/examplefiles/example.sh-session +0 -19
- data/vendor/pygments-main/tests/examplefiles/example.shell-session +0 -45
- data/vendor/pygments-main/tests/examplefiles/example.slim +0 -31
- data/vendor/pygments-main/tests/examplefiles/example.sls +0 -51
- data/vendor/pygments-main/tests/examplefiles/example.sml +0 -156
- data/vendor/pygments-main/tests/examplefiles/example.snobol +0 -15
- data/vendor/pygments-main/tests/examplefiles/example.stan +0 -110
- data/vendor/pygments-main/tests/examplefiles/example.tea +0 -34
- data/vendor/pygments-main/tests/examplefiles/example.todotxt +0 -9
- data/vendor/pygments-main/tests/examplefiles/example.ts +0 -28
- data/vendor/pygments-main/tests/examplefiles/example.u +0 -548
- data/vendor/pygments-main/tests/examplefiles/example.weechatlog +0 -9
- data/vendor/pygments-main/tests/examplefiles/example.xhtml +0 -376
- data/vendor/pygments-main/tests/examplefiles/example.xtend +0 -34
- data/vendor/pygments-main/tests/examplefiles/example.yaml +0 -302
- data/vendor/pygments-main/tests/examplefiles/example2.aspx +0 -29
- data/vendor/pygments-main/tests/examplefiles/example2.msc +0 -79
- data/vendor/pygments-main/tests/examplefiles/exampleScript.cfc +0 -241
- data/vendor/pygments-main/tests/examplefiles/exampleTag.cfc +0 -18
- data/vendor/pygments-main/tests/examplefiles/example_elixir.ex +0 -205
- data/vendor/pygments-main/tests/examplefiles/example_file.fy +0 -128
- data/vendor/pygments-main/tests/examplefiles/firefox.mak +0 -586
- data/vendor/pygments-main/tests/examplefiles/flipflop.sv +0 -19
- data/vendor/pygments-main/tests/examplefiles/foo.sce +0 -6
- data/vendor/pygments-main/tests/examplefiles/format.ml +0 -1213
- data/vendor/pygments-main/tests/examplefiles/fucked_up.rb +0 -77
- data/vendor/pygments-main/tests/examplefiles/function.mu +0 -1
- data/vendor/pygments-main/tests/examplefiles/functional.rst +0 -1472
- data/vendor/pygments-main/tests/examplefiles/garcia-wachs.kk +0 -133
- data/vendor/pygments-main/tests/examplefiles/genclass.clj +0 -510
- data/vendor/pygments-main/tests/examplefiles/genshi_example.xml+genshi +0 -193
- data/vendor/pygments-main/tests/examplefiles/genshitext_example.genshitext +0 -33
- data/vendor/pygments-main/tests/examplefiles/glsl.frag +0 -7
- data/vendor/pygments-main/tests/examplefiles/glsl.vert +0 -13
- data/vendor/pygments-main/tests/examplefiles/grammar-test.p6 +0 -22
- data/vendor/pygments-main/tests/examplefiles/hash_syntax.rb +0 -5
- data/vendor/pygments-main/tests/examplefiles/hello.at +0 -6
- data/vendor/pygments-main/tests/examplefiles/hello.golo +0 -5
- data/vendor/pygments-main/tests/examplefiles/hello.lsl +0 -12
- data/vendor/pygments-main/tests/examplefiles/hello.smali +0 -40
- data/vendor/pygments-main/tests/examplefiles/hello.sp +0 -9
- data/vendor/pygments-main/tests/examplefiles/html+php_faulty.php +0 -1
- data/vendor/pygments-main/tests/examplefiles/http_request_example +0 -15
- data/vendor/pygments-main/tests/examplefiles/http_response_example +0 -29
- data/vendor/pygments-main/tests/examplefiles/hybris_File.hy +0 -174
- data/vendor/pygments-main/tests/examplefiles/idl_sample.pro +0 -73
- data/vendor/pygments-main/tests/examplefiles/iex_example +0 -23
- data/vendor/pygments-main/tests/examplefiles/inet_pton6.dg +0 -71
- data/vendor/pygments-main/tests/examplefiles/intro.ik +0 -24
- data/vendor/pygments-main/tests/examplefiles/ints.php +0 -10
- data/vendor/pygments-main/tests/examplefiles/intsyn.fun +0 -675
- data/vendor/pygments-main/tests/examplefiles/intsyn.sig +0 -286
- data/vendor/pygments-main/tests/examplefiles/irb_heredoc +0 -8
- data/vendor/pygments-main/tests/examplefiles/irc.lsp +0 -214
- data/vendor/pygments-main/tests/examplefiles/java.properties +0 -16
- data/vendor/pygments-main/tests/examplefiles/jbst_example1.jbst +0 -28
- data/vendor/pygments-main/tests/examplefiles/jbst_example2.jbst +0 -45
- data/vendor/pygments-main/tests/examplefiles/jinjadesignerdoc.rst +0 -713
- data/vendor/pygments-main/tests/examplefiles/json.lasso +0 -301
- data/vendor/pygments-main/tests/examplefiles/json.lasso9 +0 -213
- data/vendor/pygments-main/tests/examplefiles/language.hy +0 -165
- data/vendor/pygments-main/tests/examplefiles/lighttpd_config.conf +0 -13
- data/vendor/pygments-main/tests/examplefiles/limbo.b +0 -456
- data/vendor/pygments-main/tests/examplefiles/linecontinuation.py +0 -47
- data/vendor/pygments-main/tests/examplefiles/livescript-demo.ls +0 -43
- data/vendor/pygments-main/tests/examplefiles/logos_example.xm +0 -28
- data/vendor/pygments-main/tests/examplefiles/ltmain.sh +0 -2849
- data/vendor/pygments-main/tests/examplefiles/main.cmake +0 -44
- data/vendor/pygments-main/tests/examplefiles/markdown.lsp +0 -679
- data/vendor/pygments-main/tests/examplefiles/matlab_noreturn +0 -3
- data/vendor/pygments-main/tests/examplefiles/matlab_sample +0 -30
- data/vendor/pygments-main/tests/examplefiles/matlabsession_sample.txt +0 -37
- data/vendor/pygments-main/tests/examplefiles/metagrammar.treetop +0 -455
- data/vendor/pygments-main/tests/examplefiles/minehunt.qml +0 -112
- data/vendor/pygments-main/tests/examplefiles/minimal.ns2 +0 -4
- data/vendor/pygments-main/tests/examplefiles/moin_SyntaxReference.txt +0 -340
- data/vendor/pygments-main/tests/examplefiles/multiline_regexes.rb +0 -38
- data/vendor/pygments-main/tests/examplefiles/nanomsg.intr +0 -95
- data/vendor/pygments-main/tests/examplefiles/nasm_aoutso.asm +0 -96
- data/vendor/pygments-main/tests/examplefiles/nasm_objexe.asm +0 -30
- data/vendor/pygments-main/tests/examplefiles/nemerle_sample.n +0 -87
- data/vendor/pygments-main/tests/examplefiles/nginx_nginx.conf +0 -118
- data/vendor/pygments-main/tests/examplefiles/numbers.c +0 -12
- data/vendor/pygments-main/tests/examplefiles/objc_example.m +0 -179
- data/vendor/pygments-main/tests/examplefiles/openedge_example +0 -34
- data/vendor/pygments-main/tests/examplefiles/pawn_example +0 -25
- data/vendor/pygments-main/tests/examplefiles/perl_misc +0 -62
- data/vendor/pygments-main/tests/examplefiles/perl_perl5db +0 -998
- data/vendor/pygments-main/tests/examplefiles/perl_regex-delims +0 -120
- data/vendor/pygments-main/tests/examplefiles/perlfunc.1 +0 -856
- data/vendor/pygments-main/tests/examplefiles/phpMyAdmin.spec +0 -163
- data/vendor/pygments-main/tests/examplefiles/phpcomplete.vim +0 -567
- data/vendor/pygments-main/tests/examplefiles/pleac.in.rb +0 -1223
- data/vendor/pygments-main/tests/examplefiles/postgresql_test.txt +0 -47
- data/vendor/pygments-main/tests/examplefiles/pppoe.applescript +0 -10
- data/vendor/pygments-main/tests/examplefiles/psql_session.txt +0 -122
- data/vendor/pygments-main/tests/examplefiles/py3_test.txt +0 -2
- data/vendor/pygments-main/tests/examplefiles/py3tb_test.py3tb +0 -4
- data/vendor/pygments-main/tests/examplefiles/pycon_test.pycon +0 -14
- data/vendor/pygments-main/tests/examplefiles/pytb_test2.pytb +0 -2
- data/vendor/pygments-main/tests/examplefiles/pytb_test3.pytb +0 -4
- data/vendor/pygments-main/tests/examplefiles/python25-bsd.mak +0 -234
- data/vendor/pygments-main/tests/examplefiles/qbasic_example +0 -2
- data/vendor/pygments-main/tests/examplefiles/qsort.prolog +0 -13
- data/vendor/pygments-main/tests/examplefiles/r-console-transcript.Rout +0 -38
- data/vendor/pygments-main/tests/examplefiles/r6rs-comments.scm +0 -23
- data/vendor/pygments-main/tests/examplefiles/ragel-cpp_rlscan +0 -280
- data/vendor/pygments-main/tests/examplefiles/ragel-cpp_snippet +0 -2
- data/vendor/pygments-main/tests/examplefiles/regex.js +0 -22
- data/vendor/pygments-main/tests/examplefiles/reversi.lsp +0 -427
- data/vendor/pygments-main/tests/examplefiles/robotframework_test.txt +0 -39
- data/vendor/pygments-main/tests/examplefiles/rql-queries.rql +0 -34
- data/vendor/pygments-main/tests/examplefiles/ruby_func_def.rb +0 -11
- data/vendor/pygments-main/tests/examplefiles/rust_example.rs +0 -233
- data/vendor/pygments-main/tests/examplefiles/scilab.sci +0 -30
- data/vendor/pygments-main/tests/examplefiles/scope.cirru +0 -43
- data/vendor/pygments-main/tests/examplefiles/session.dylan-console +0 -9
- data/vendor/pygments-main/tests/examplefiles/sibling.prolog +0 -19
- data/vendor/pygments-main/tests/examplefiles/simple.md +0 -747
- data/vendor/pygments-main/tests/examplefiles/smarty_example.html +0 -209
- data/vendor/pygments-main/tests/examplefiles/source.lgt +0 -343
- data/vendor/pygments-main/tests/examplefiles/sources.list +0 -62
- data/vendor/pygments-main/tests/examplefiles/sparql.rq +0 -23
- data/vendor/pygments-main/tests/examplefiles/sphere.pov +0 -18
- data/vendor/pygments-main/tests/examplefiles/sqlite3.sqlite3-console +0 -27
- data/vendor/pygments-main/tests/examplefiles/squid.conf +0 -30
- data/vendor/pygments-main/tests/examplefiles/string.jl +0 -1031
- data/vendor/pygments-main/tests/examplefiles/string_delimiters.d +0 -21
- data/vendor/pygments-main/tests/examplefiles/stripheredoc.sh +0 -3
- data/vendor/pygments-main/tests/examplefiles/swig_java.swg +0 -1329
- data/vendor/pygments-main/tests/examplefiles/swig_std_vector.i +0 -225
- data/vendor/pygments-main/tests/examplefiles/test.R +0 -185
- data/vendor/pygments-main/tests/examplefiles/test.adb +0 -211
- data/vendor/pygments-main/tests/examplefiles/test.agda +0 -102
- data/vendor/pygments-main/tests/examplefiles/test.apl +0 -26
- data/vendor/pygments-main/tests/examplefiles/test.asy +0 -131
- data/vendor/pygments-main/tests/examplefiles/test.awk +0 -121
- data/vendor/pygments-main/tests/examplefiles/test.bb +0 -95
- data/vendor/pygments-main/tests/examplefiles/test.bmx +0 -145
- data/vendor/pygments-main/tests/examplefiles/test.boo +0 -39
- data/vendor/pygments-main/tests/examplefiles/test.bro +0 -250
- data/vendor/pygments-main/tests/examplefiles/test.cs +0 -374
- data/vendor/pygments-main/tests/examplefiles/test.css +0 -54
- data/vendor/pygments-main/tests/examplefiles/test.cu +0 -36
- data/vendor/pygments-main/tests/examplefiles/test.cyp +0 -123
- data/vendor/pygments-main/tests/examplefiles/test.d +0 -135
- data/vendor/pygments-main/tests/examplefiles/test.dart +0 -23
- data/vendor/pygments-main/tests/examplefiles/test.dtd +0 -89
- data/vendor/pygments-main/tests/examplefiles/test.ebnf +0 -31
- data/vendor/pygments-main/tests/examplefiles/test.ec +0 -605
- data/vendor/pygments-main/tests/examplefiles/test.ecl +0 -58
- data/vendor/pygments-main/tests/examplefiles/test.eh +0 -315
- data/vendor/pygments-main/tests/examplefiles/test.erl +0 -169
- data/vendor/pygments-main/tests/examplefiles/test.evoque +0 -33
- data/vendor/pygments-main/tests/examplefiles/test.fan +0 -818
- data/vendor/pygments-main/tests/examplefiles/test.flx +0 -57
- data/vendor/pygments-main/tests/examplefiles/test.gdc +0 -13
- data/vendor/pygments-main/tests/examplefiles/test.groovy +0 -97
- data/vendor/pygments-main/tests/examplefiles/test.html +0 -339
- data/vendor/pygments-main/tests/examplefiles/test.idr +0 -93
- data/vendor/pygments-main/tests/examplefiles/test.ini +0 -10
- data/vendor/pygments-main/tests/examplefiles/test.java +0 -653
- data/vendor/pygments-main/tests/examplefiles/test.jsp +0 -24
- data/vendor/pygments-main/tests/examplefiles/test.maql +0 -45
- data/vendor/pygments-main/tests/examplefiles/test.mask +0 -41
- data/vendor/pygments-main/tests/examplefiles/test.mod +0 -374
- data/vendor/pygments-main/tests/examplefiles/test.moo +0 -51
- data/vendor/pygments-main/tests/examplefiles/test.myt +0 -166
- data/vendor/pygments-main/tests/examplefiles/test.nim +0 -93
- data/vendor/pygments-main/tests/examplefiles/test.opa +0 -10
- data/vendor/pygments-main/tests/examplefiles/test.p6 +0 -252
- data/vendor/pygments-main/tests/examplefiles/test.pan +0 -54
- data/vendor/pygments-main/tests/examplefiles/test.pas +0 -743
- data/vendor/pygments-main/tests/examplefiles/test.php +0 -507
- data/vendor/pygments-main/tests/examplefiles/test.pig +0 -148
- data/vendor/pygments-main/tests/examplefiles/test.plot +0 -333
- data/vendor/pygments-main/tests/examplefiles/test.ps1 +0 -108
- data/vendor/pygments-main/tests/examplefiles/test.pwn +0 -253
- data/vendor/pygments-main/tests/examplefiles/test.pypylog +0 -1839
- data/vendor/pygments-main/tests/examplefiles/test.r3 +0 -114
- data/vendor/pygments-main/tests/examplefiles/test.rb +0 -177
- data/vendor/pygments-main/tests/examplefiles/test.rhtml +0 -43
- data/vendor/pygments-main/tests/examplefiles/test.rsl +0 -111
- data/vendor/pygments-main/tests/examplefiles/test.scaml +0 -8
- data/vendor/pygments-main/tests/examplefiles/test.ssp +0 -12
- data/vendor/pygments-main/tests/examplefiles/test.swift +0 -65
- data/vendor/pygments-main/tests/examplefiles/test.tcsh +0 -830
- data/vendor/pygments-main/tests/examplefiles/test.vb +0 -407
- data/vendor/pygments-main/tests/examplefiles/test.vhdl +0 -161
- data/vendor/pygments-main/tests/examplefiles/test.xqy +0 -138
- data/vendor/pygments-main/tests/examplefiles/test.xsl +0 -23
- data/vendor/pygments-main/tests/examplefiles/test.zep +0 -33
- data/vendor/pygments-main/tests/examplefiles/test2.pypylog +0 -120
- data/vendor/pygments-main/tests/examplefiles/truncated.pytb +0 -15
- data/vendor/pygments-main/tests/examplefiles/type.lisp +0 -1218
- data/vendor/pygments-main/tests/examplefiles/underscore.coffee +0 -603
- data/vendor/pygments-main/tests/examplefiles/unicode.applescript +0 -5
- data/vendor/pygments-main/tests/examplefiles/unicode.go +0 -10
- data/vendor/pygments-main/tests/examplefiles/unicodedoc.py +0 -11
- data/vendor/pygments-main/tests/examplefiles/unix-io.lid +0 -37
- data/vendor/pygments-main/tests/examplefiles/vbnet_test.bas +0 -29
- data/vendor/pygments-main/tests/examplefiles/vctreestatus_hg +0 -4
- data/vendor/pygments-main/tests/examplefiles/vimrc +0 -21
- data/vendor/pygments-main/tests/examplefiles/webkit-transition.css +0 -3
- data/vendor/pygments-main/tests/examplefiles/while.pov +0 -13
- data/vendor/pygments-main/tests/examplefiles/wiki.factor +0 -384
- data/vendor/pygments-main/tests/examplefiles/xml_example +0 -1897
- data/vendor/pygments-main/tests/examplefiles/zmlrpc.f90 +0 -798
- data/vendor/pygments-main/tests/run.py +0 -44
- data/vendor/pygments-main/tests/string_asserts.py +0 -22
- data/vendor/pygments-main/tests/support.py +0 -15
- data/vendor/pygments-main/tests/support/tags +0 -36
- data/vendor/pygments-main/tests/test_basic_api.py +0 -309
- data/vendor/pygments-main/tests/test_cfm.py +0 -46
- data/vendor/pygments-main/tests/test_clexer.py +0 -236
- data/vendor/pygments-main/tests/test_cmdline.py +0 -106
- data/vendor/pygments-main/tests/test_examplefiles.py +0 -110
- data/vendor/pygments-main/tests/test_html_formatter.py +0 -180
- data/vendor/pygments-main/tests/test_latex_formatter.py +0 -57
- data/vendor/pygments-main/tests/test_lexers_other.py +0 -68
- data/vendor/pygments-main/tests/test_objectiveclexer.py +0 -81
- data/vendor/pygments-main/tests/test_perllexer.py +0 -137
- data/vendor/pygments-main/tests/test_qbasiclexer.py +0 -43
- data/vendor/pygments-main/tests/test_regexlexer.py +0 -54
- data/vendor/pygments-main/tests/test_rtf_formatter.py +0 -109
- data/vendor/pygments-main/tests/test_string_asserts.py +0 -39
- data/vendor/pygments-main/tests/test_token.py +0 -46
- data/vendor/pygments-main/tests/test_using_api.py +0 -40
- data/vendor/pygments-main/tests/test_util.py +0 -135
@@ -1,88 +0,0 @@
|
|
1
|
-
<!SGML "ISO 8879:1986 (WWW)"
|
2
|
-
--
|
3
|
-
SGML Declaration for HyperText Markup Language version 4.0
|
4
|
-
|
5
|
-
With support for the first 17 planes of ISO 10646 and
|
6
|
-
increased limits for tag and literal lengths etc.
|
7
|
-
|
8
|
-
Modified by jjc to work around SP's 16-bit character limit.
|
9
|
-
Modified by jjc to support hex character references.
|
10
|
-
--
|
11
|
-
|
12
|
-
CHARSET
|
13
|
-
BASESET "ISO Registration Number 177//CHARSET
|
14
|
-
ISO/IEC 10646-1:1993 UCS-4 with
|
15
|
-
implementation level 3//ESC 2/5 2/15 4/6"
|
16
|
-
DESCSET 0 9 UNUSED
|
17
|
-
9 2 9
|
18
|
-
11 2 UNUSED
|
19
|
-
13 1 13
|
20
|
-
14 18 UNUSED
|
21
|
-
32 95 32
|
22
|
-
127 1 UNUSED
|
23
|
-
128 32 UNUSED
|
24
|
-
-- jjc: changed the rest of the DESCSET.
|
25
|
-
Note that surrogates are not declared UNUSED;
|
26
|
-
this allows non-BMP characters to be parsed. --
|
27
|
-
160 65376 160
|
28
|
-
-- 160 55136 160
|
29
|
-
55296 2048 UNUSED
|
30
|
-
57344 1056768 57344 --
|
31
|
-
|
32
|
-
CAPACITY SGMLREF
|
33
|
-
TOTALCAP 150000
|
34
|
-
GRPCAP 150000
|
35
|
-
ENTCAP 150000
|
36
|
-
|
37
|
-
SCOPE DOCUMENT
|
38
|
-
SYNTAX
|
39
|
-
SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
40
|
-
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 127
|
41
|
-
BASESET "ISO 646IRV:1991//CHARSET
|
42
|
-
International Reference Version
|
43
|
-
(IRV)//ESC 2/8 4/2"
|
44
|
-
DESCSET 0 128 0
|
45
|
-
|
46
|
-
FUNCTION
|
47
|
-
RE 13
|
48
|
-
RS 10
|
49
|
-
SPACE 32
|
50
|
-
TAB SEPCHAR 9
|
51
|
-
|
52
|
-
NAMING LCNMSTRT ""
|
53
|
-
UCNMSTRT ""
|
54
|
-
LCNMCHAR ".-_:"
|
55
|
-
UCNMCHAR ".-_:"
|
56
|
-
NAMECASE GENERAL YES
|
57
|
-
ENTITY NO
|
58
|
-
DELIM GENERAL SGMLREF
|
59
|
-
HCRO "&#X" -- added by jjc --
|
60
|
-
SHORTREF SGMLREF
|
61
|
-
NAMES SGMLREF
|
62
|
-
QUANTITY SGMLREF
|
63
|
-
ATTCNT 60 -- increased --
|
64
|
-
ATTSPLEN 65536 -- These are the largest values --
|
65
|
-
LITLEN 65536 -- permitted in the declaration --
|
66
|
-
NAMELEN 65536 -- Avoid fixed limits in actual --
|
67
|
-
PILEN 65536 -- implementations of HTML UA's --
|
68
|
-
TAGLVL 100
|
69
|
-
TAGLEN 65536
|
70
|
-
GRPGTCNT 150
|
71
|
-
GRPCNT 64
|
72
|
-
|
73
|
-
FEATURES
|
74
|
-
MINIMIZE
|
75
|
-
DATATAG NO
|
76
|
-
OMITTAG YES
|
77
|
-
RANK NO
|
78
|
-
SHORTTAG YES
|
79
|
-
LINK
|
80
|
-
SIMPLE NO
|
81
|
-
IMPLICIT NO
|
82
|
-
EXPLICIT NO
|
83
|
-
OTHER
|
84
|
-
CONCUR NO
|
85
|
-
SUBDOC NO
|
86
|
-
FORMAL YES
|
87
|
-
APPINFO NONE
|
88
|
-
>
|
@@ -1,1092 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
This is the HTML 4.0 Transitional DTD, which includes
|
3
|
-
presentation attributes and elements that W3C expects to phase out
|
4
|
-
as support for style sheets matures. Authors should use the Strict
|
5
|
-
DTD when possible, but may use the Transitional DTD when support
|
6
|
-
for presentation attribute and elements is required.
|
7
|
-
|
8
|
-
HTML 4.0 includes mechanisms for style sheets, scripting,
|
9
|
-
embedding objects, improved support for right to left and mixed
|
10
|
-
direction text, and enhancements to forms for improved
|
11
|
-
accessibility for people with disabilities.
|
12
|
-
|
13
|
-
Draft: $Date: 1999/05/02 15:37:15 $
|
14
|
-
|
15
|
-
Authors:
|
16
|
-
Dave Raggett <dsr@w3.org>
|
17
|
-
Arnaud Le Hors <lehors@w3.org>
|
18
|
-
Ian Jacobs <ij@w3.org>
|
19
|
-
|
20
|
-
Further information about HTML 4.0 is available at:
|
21
|
-
|
22
|
-
http://www.w3.org/TR/REC-html40
|
23
|
-
-->
|
24
|
-
<!ENTITY % HTML.Version "-//W3C//DTD HTML 4.0 Transitional//EN"
|
25
|
-
-- Typical usage:
|
26
|
-
|
27
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
28
|
-
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
29
|
-
<html>
|
30
|
-
<head>
|
31
|
-
...
|
32
|
-
</head>
|
33
|
-
<body>
|
34
|
-
...
|
35
|
-
</body>
|
36
|
-
</html>
|
37
|
-
|
38
|
-
The URI used as a system identifier with the public identifier allows
|
39
|
-
the user agent to download the DTD and entity sets as needed.
|
40
|
-
|
41
|
-
The FPI for the Strict HTML 4.0 DTD is:
|
42
|
-
|
43
|
-
"-//W3C//DTD HTML 4.0//EN"
|
44
|
-
|
45
|
-
and its URI is:
|
46
|
-
|
47
|
-
http://www.w3.org/TR/REC-html40/strict.dtd
|
48
|
-
|
49
|
-
Authors should use the Strict DTD unless they need the
|
50
|
-
presentation control for user agents that don't (adequately)
|
51
|
-
support style sheets.
|
52
|
-
|
53
|
-
If you are writing a document that includes frames, use
|
54
|
-
the following FPI:
|
55
|
-
|
56
|
-
"-//W3C//DTD HTML 4.0 Frameset//EN"
|
57
|
-
|
58
|
-
with the URI:
|
59
|
-
|
60
|
-
http://www.w3.org/TR/REC-html40/frameset.dtd
|
61
|
-
|
62
|
-
The following URIs are supported in relation to HTML 4.0
|
63
|
-
|
64
|
-
"http://www.w3.org/TR/REC-html40/strict.dtd" (Strict DTD)
|
65
|
-
"http://www.w3.org/TR/REC-html40/loose.dtd" (Loose DTD)
|
66
|
-
"http://www.w3.org/TR/REC-html40/frameset.dtd" (Frameset DTD)
|
67
|
-
"http://www.w3.org/TR/REC-html40/HTMLlat1.ent" (Latin-1 entities)
|
68
|
-
"http://www.w3.org/TR/REC-html40/HTMLsymbol.ent" (Symbol entities)
|
69
|
-
"http://www.w3.org/TR/REC-html40/HTMLspecial.ent" (Special entities)
|
70
|
-
|
71
|
-
These URIs point to the latest version of each file. To reference
|
72
|
-
this specific revision use the following URIs:
|
73
|
-
|
74
|
-
"http://www.w3.org/TR/REC-html40-971218/strict.dtd"
|
75
|
-
"http://www.w3.org/TR/REC-html40-971218/loose.dtd"
|
76
|
-
"http://www.w3.org/TR/REC-html40-971218/frameset.dtd"
|
77
|
-
"http://www.w3.org/TR/REC-html40-971218/HTMLlat1.ent"
|
78
|
-
"http://www.w3.org/TR/REC-html40-971218/HTMLsymbol.ent"
|
79
|
-
"http://www.w3.org/TR/REC-html40-971218/HTMLspecial.ent"
|
80
|
-
|
81
|
-
-->
|
82
|
-
|
83
|
-
<!--================== Imported Names ====================================-->
|
84
|
-
|
85
|
-
<!ENTITY % ContentType "CDATA"
|
86
|
-
-- media type, as per [RFC2045]
|
87
|
-
-->
|
88
|
-
|
89
|
-
<!ENTITY % ContentTypes "CDATA"
|
90
|
-
-- comma-separated list of media types, as per [RFC2045]
|
91
|
-
-->
|
92
|
-
|
93
|
-
<!ENTITY % Charset "CDATA"
|
94
|
-
-- a character encoding, as per [RFC2045]
|
95
|
-
-->
|
96
|
-
|
97
|
-
<!ENTITY % Charsets "CDATA"
|
98
|
-
-- a space separated list of character encodings, as per [RFC2045]
|
99
|
-
-->
|
100
|
-
|
101
|
-
<!ENTITY % LanguageCode "NAME"
|
102
|
-
-- a language code, as per [RFC1766]
|
103
|
-
-->
|
104
|
-
|
105
|
-
<!ENTITY % Character "CDATA"
|
106
|
-
-- a single character from [ISO10646]
|
107
|
-
-->
|
108
|
-
|
109
|
-
<!ENTITY % LinkTypes "CDATA"
|
110
|
-
-- space-separated list of link types
|
111
|
-
-->
|
112
|
-
|
113
|
-
<!ENTITY % MediaDesc "CDATA"
|
114
|
-
-- single or comma-separated list of media descriptors
|
115
|
-
-->
|
116
|
-
|
117
|
-
<!ENTITY % URI "CDATA"
|
118
|
-
-- a Uniform Resource Identifier,
|
119
|
-
see [URI]
|
120
|
-
-->
|
121
|
-
|
122
|
-
<!ENTITY % Datetime "CDATA" -- date and time information. ISO date format -->
|
123
|
-
|
124
|
-
|
125
|
-
<!ENTITY % Script "CDATA" -- script expression -->
|
126
|
-
|
127
|
-
<!ENTITY % StyleSheet "CDATA" -- style sheet data -->
|
128
|
-
|
129
|
-
<!ENTITY % FrameTarget "CDATA" -- render in this frame -->
|
130
|
-
|
131
|
-
|
132
|
-
<!ENTITY % Text "CDATA">
|
133
|
-
|
134
|
-
|
135
|
-
<!-- Parameter Entities -->
|
136
|
-
|
137
|
-
<!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements -->
|
138
|
-
|
139
|
-
<!ENTITY % heading "H1|H2|H3|H4|H5|H6">
|
140
|
-
|
141
|
-
<!ENTITY % list "UL | OL | DIR | MENU">
|
142
|
-
|
143
|
-
<!ENTITY % preformatted "PRE">
|
144
|
-
|
145
|
-
<!ENTITY % Color "CDATA" -- a color using sRGB: #RRGGBB as Hex values -->
|
146
|
-
|
147
|
-
<!-- There are also 16 widely known color names with their sRGB values:
|
148
|
-
|
149
|
-
Black = #000000 Green = #008000
|
150
|
-
Silver = #C0C0C0 Lime = #00FF00
|
151
|
-
Gray = #808080 Olive = #808000
|
152
|
-
White = #FFFFFF Yellow = #FFFF00
|
153
|
-
Maroon = #800000 Navy = #000080
|
154
|
-
Red = #FF0000 Blue = #0000FF
|
155
|
-
Purple = #800080 Teal = #008080
|
156
|
-
Fuchsia= #FF00FF Aqua = #00FFFF
|
157
|
-
-->
|
158
|
-
|
159
|
-
<!ENTITY % bodycolors "
|
160
|
-
bgcolor %Color; #IMPLIED -- document background color --
|
161
|
-
text %Color; #IMPLIED -- document text color --
|
162
|
-
link %Color; #IMPLIED -- color of links --
|
163
|
-
vlink %Color; #IMPLIED -- color of visited links --
|
164
|
-
alink %Color; #IMPLIED -- color of selected links --
|
165
|
-
">
|
166
|
-
|
167
|
-
<!--================ Character mnemonic entities =========================-->
|
168
|
-
|
169
|
-
<!ENTITY % HTMLlat1 PUBLIC
|
170
|
-
"-//W3C//ENTITIES Latin1//EN//HTML"
|
171
|
-
"http://www.w3.org/TR/REC-html40-971218/HTMLlat1.ent">
|
172
|
-
%HTMLlat1;
|
173
|
-
|
174
|
-
<!ENTITY % HTMLsymbol PUBLIC
|
175
|
-
"-//W3C//ENTITIES Symbols//EN//HTML"
|
176
|
-
"http://www.w3.org/TR/REC-html40-971218/HTMLsymbol.ent">
|
177
|
-
%HTMLsymbol;
|
178
|
-
|
179
|
-
<!ENTITY % HTMLspecial PUBLIC
|
180
|
-
"-//W3C//ENTITIES Special//EN//HTML"
|
181
|
-
"http://www.w3.org/TR/REC-html40-971218/HTMLspecial.ent">
|
182
|
-
%HTMLspecial;
|
183
|
-
<!--=================== Generic Attributes ===============================-->
|
184
|
-
|
185
|
-
<!ENTITY % coreattrs
|
186
|
-
"id ID #IMPLIED -- document-wide unique id --
|
187
|
-
class CDATA #IMPLIED -- space separated list of classes --
|
188
|
-
style %StyleSheet; #IMPLIED -- associated style info --
|
189
|
-
title %Text; #IMPLIED -- advisory title/amplification --"
|
190
|
-
>
|
191
|
-
|
192
|
-
<!ENTITY % i18n
|
193
|
-
"lang %LanguageCode; #IMPLIED -- language code --
|
194
|
-
dir (ltr|rtl) #IMPLIED -- direction for weak/neutral text --"
|
195
|
-
>
|
196
|
-
|
197
|
-
<!ENTITY % events
|
198
|
-
"onclick %Script; #IMPLIED -- a pointer button was clicked --
|
199
|
-
ondblclick %Script; #IMPLIED -- a pointer button was double clicked--
|
200
|
-
onmousedown %Script; #IMPLIED -- a pointer button was pressed down --
|
201
|
-
onmouseup %Script; #IMPLIED -- a pointer button was released --
|
202
|
-
onmouseover %Script; #IMPLIED -- a pointer was moved onto --
|
203
|
-
onmousemove %Script; #IMPLIED -- a pointer was moved within --
|
204
|
-
onmouseout %Script; #IMPLIED -- a pointer was moved away --
|
205
|
-
onkeypress %Script; #IMPLIED -- a key was pressed and released --
|
206
|
-
onkeydown %Script; #IMPLIED -- a key was pressed down --
|
207
|
-
onkeyup %Script; #IMPLIED -- a key was released --"
|
208
|
-
>
|
209
|
-
|
210
|
-
<!-- Reserved Feature Switch -->
|
211
|
-
<!ENTITY % HTML.Reserved "IGNORE">
|
212
|
-
|
213
|
-
<!-- The following attributes are reserved for possible future use -->
|
214
|
-
<![ %HTML.Reserved; [
|
215
|
-
<!ENTITY % reserved
|
216
|
-
"datasrc %URI; #IMPLIED -- a single or tabular Data Source --
|
217
|
-
datafld CDATA #IMPLIED -- the property or column name --
|
218
|
-
dataformatas (plaintext|html) plaintext -- text or html --"
|
219
|
-
>
|
220
|
-
]]>
|
221
|
-
|
222
|
-
<!ENTITY % reserved "">
|
223
|
-
|
224
|
-
<!ENTITY % attrs "%coreattrs; %i18n; %events;">
|
225
|
-
|
226
|
-
<!ENTITY % align "align (left|center|right|justify) #IMPLIED"
|
227
|
-
-- default is left for ltr paragraphs, right for rtl --
|
228
|
-
>
|
229
|
-
|
230
|
-
<!--=================== Text Markup ======================================-->
|
231
|
-
|
232
|
-
<!ENTITY % fontstyle
|
233
|
-
"TT | I | B | U | S | STRIKE | BIG | SMALL">
|
234
|
-
|
235
|
-
<!ENTITY % phrase "EM | STRONG | DFN | CODE |
|
236
|
-
SAMP | KBD | VAR | CITE | ABBR | ACRONYM" >
|
237
|
-
|
238
|
-
<!ENTITY % special
|
239
|
-
"A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT |
|
240
|
-
MAP | Q | SUB | SUP | SPAN | BDO | IFRAME">
|
241
|
-
|
242
|
-
<!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON">
|
243
|
-
|
244
|
-
<!-- %inline; covers inline or "text-level" elements -->
|
245
|
-
<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;">
|
246
|
-
|
247
|
-
<!ELEMENT (%fontstyle;|%phrase;) - - (%inline;)*>
|
248
|
-
<!ATTLIST (%fontstyle;|%phrase;)
|
249
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
250
|
-
>
|
251
|
-
|
252
|
-
<!ELEMENT (SUB|SUP) - - (%inline;)* -- subscript, superscript -->
|
253
|
-
<!ATTLIST (SUB|SUP)
|
254
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
255
|
-
>
|
256
|
-
|
257
|
-
<!ELEMENT SPAN - - (%inline;)* -- generic language/style container -->
|
258
|
-
<!ATTLIST SPAN
|
259
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
260
|
-
%reserved; -- reserved for possible future use --
|
261
|
-
>
|
262
|
-
|
263
|
-
<!ELEMENT BDO - - (%inline;)* -- I18N BiDi over-ride -->
|
264
|
-
<!ATTLIST BDO
|
265
|
-
%coreattrs; -- id, class, style, title --
|
266
|
-
lang %LanguageCode; #IMPLIED -- language code --
|
267
|
-
dir (ltr|rtl) #REQUIRED -- directionality --
|
268
|
-
>
|
269
|
-
|
270
|
-
<!ELEMENT BASEFONT - O EMPTY -- base font size -->
|
271
|
-
<!ATTLIST BASEFONT
|
272
|
-
id ID #IMPLIED -- document-wide unique id --
|
273
|
-
size CDATA #REQUIRED -- base font size for FONT elements --
|
274
|
-
color %Color; #IMPLIED -- text color --
|
275
|
-
face CDATA #IMPLIED -- comma separated list of font names --
|
276
|
-
>
|
277
|
-
|
278
|
-
<!ELEMENT FONT - - (%inline;)* -- local change to font -->
|
279
|
-
<!ATTLIST FONT
|
280
|
-
%coreattrs; -- id, class, style, title --
|
281
|
-
%i18n; -- lang, dir --
|
282
|
-
size CDATA #IMPLIED -- [+|-]nn e.g. size="+1", size="4" --
|
283
|
-
color %Color; #IMPLIED -- text color --
|
284
|
-
face CDATA #IMPLIED -- comma separated list of font names --
|
285
|
-
>
|
286
|
-
|
287
|
-
<!ELEMENT BR - O EMPTY -- forced line break -->
|
288
|
-
<!ATTLIST BR
|
289
|
-
%coreattrs; -- id, class, style, title --
|
290
|
-
clear (left|all|right|none) none -- control of text flow --
|
291
|
-
>
|
292
|
-
|
293
|
-
<!--================== HTML content models ===============================-->
|
294
|
-
|
295
|
-
<!--
|
296
|
-
HTML has two basic content models:
|
297
|
-
|
298
|
-
%inline; character level elements and text strings
|
299
|
-
%block; block-like elements e.g. paragraphs and lists
|
300
|
-
-->
|
301
|
-
|
302
|
-
<!ENTITY % block
|
303
|
-
"P | %heading; | %list; | %preformatted; | DL | DIV | CENTER |
|
304
|
-
NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR |
|
305
|
-
TABLE | FIELDSET | ADDRESS">
|
306
|
-
|
307
|
-
<!ENTITY % flow "%block; | %inline;">
|
308
|
-
|
309
|
-
<!--=================== Document Body ====================================-->
|
310
|
-
|
311
|
-
<!ELEMENT BODY O O (%flow;)* +(INS|DEL) -- document body -->
|
312
|
-
<!ATTLIST BODY
|
313
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
314
|
-
onload %Script; #IMPLIED -- the document has been loaded --
|
315
|
-
onunload %Script; #IMPLIED -- the document has been removed --
|
316
|
-
background %URI; #IMPLIED -- texture tile for document
|
317
|
-
background --
|
318
|
-
%bodycolors; -- bgcolor, text, link, vlink, alink --
|
319
|
-
>
|
320
|
-
|
321
|
-
<!ELEMENT ADDRESS - - ((%inline;)|P)* -- information on author -->
|
322
|
-
<!ATTLIST ADDRESS
|
323
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
324
|
-
>
|
325
|
-
|
326
|
-
<!ELEMENT DIV - - (%flow;)* -- generic language/style container -->
|
327
|
-
<!ATTLIST DIV
|
328
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
329
|
-
%align; -- align, text alignment --
|
330
|
-
%reserved; -- reserved for possible future use --
|
331
|
-
>
|
332
|
-
|
333
|
-
<!ELEMENT CENTER - - (%flow;)* -- shorthand for DIV align=center -->
|
334
|
-
<!ATTLIST CENTER
|
335
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
336
|
-
>
|
337
|
-
|
338
|
-
<!--================== The Anchor Element ================================-->
|
339
|
-
|
340
|
-
<!ENTITY % Shape "(rect|circle|poly|default)">
|
341
|
-
<!ENTITY % Coords "CDATA" -- comma separated list of lengths -->
|
342
|
-
|
343
|
-
<!ELEMENT A - - (%inline;)* -(A) -- anchor -->
|
344
|
-
<!ATTLIST A
|
345
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
346
|
-
charset %Charset; #IMPLIED -- char encoding of linked resource --
|
347
|
-
type %ContentType; #IMPLIED -- advisory content type --
|
348
|
-
name CDATA #IMPLIED -- named link end --
|
349
|
-
href %URI; #IMPLIED -- URI for linked resource --
|
350
|
-
hreflang %LanguageCode; #IMPLIED -- language code --
|
351
|
-
target %FrameTarget; #IMPLIED -- render in this frame --
|
352
|
-
rel %LinkTypes; #IMPLIED -- forward link types --
|
353
|
-
rev %LinkTypes; #IMPLIED -- reverse link types --
|
354
|
-
accesskey %Character; #IMPLIED -- accessibility key character --
|
355
|
-
shape %Shape; rect -- for use with client-side image maps --
|
356
|
-
coords %Coords; #IMPLIED -- for use with client-side image maps --
|
357
|
-
tabindex NUMBER #IMPLIED -- position in tabbing order --
|
358
|
-
onfocus %Script; #IMPLIED -- the element got the focus --
|
359
|
-
onblur %Script; #IMPLIED -- the element lost the focus --
|
360
|
-
>
|
361
|
-
|
362
|
-
<!--================== Client-side image maps ============================-->
|
363
|
-
|
364
|
-
<!-- These can be placed in the same document or grouped in a
|
365
|
-
separate document although this isn't yet widely supported -->
|
366
|
-
|
367
|
-
<!ELEMENT MAP - - ((%block;)+ | AREA+) -- client-side image map -->
|
368
|
-
<!ATTLIST MAP
|
369
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
370
|
-
name CDATA #REQUIRED -- for reference by usemap --
|
371
|
-
>
|
372
|
-
|
373
|
-
<!ELEMENT AREA - O EMPTY -- client-side image map area -->
|
374
|
-
<!ATTLIST AREA
|
375
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
376
|
-
shape %Shape; rect -- controls interpretation of coords --
|
377
|
-
coords %Coords; #IMPLIED -- comma separated list of lengths --
|
378
|
-
href %URI; #IMPLIED -- URI for linked resource --
|
379
|
-
target %FrameTarget; #IMPLIED -- render in this frame --
|
380
|
-
nohref (nohref) #IMPLIED -- this region has no action --
|
381
|
-
alt %Text; #REQUIRED -- short description --
|
382
|
-
tabindex NUMBER #IMPLIED -- position in tabbing order --
|
383
|
-
accesskey %Character; #IMPLIED -- accessibility key character --
|
384
|
-
onfocus %Script; #IMPLIED -- the element got the focus --
|
385
|
-
onblur %Script; #IMPLIED -- the element lost the focus --
|
386
|
-
>
|
387
|
-
|
388
|
-
<!--================== The LINK Element ==================================-->
|
389
|
-
|
390
|
-
<!--
|
391
|
-
Relationship values can be used in principle:
|
392
|
-
|
393
|
-
a) for document specific toolbars/menus when used
|
394
|
-
with the LINK element in document head e.g.
|
395
|
-
start, contents, previous, next, index, end, help
|
396
|
-
b) to link to a separate style sheet (rel=stylesheet)
|
397
|
-
c) to make a link to a script (rel=script)
|
398
|
-
d) by stylesheets to control how collections of
|
399
|
-
html nodes are rendered into printed documents
|
400
|
-
e) to make a link to a printable version of this document
|
401
|
-
e.g. a postscript or pdf version (rel=alternate media=print)
|
402
|
-
-->
|
403
|
-
|
404
|
-
<!ELEMENT LINK - O EMPTY -- a media-independent link -->
|
405
|
-
<!ATTLIST LINK
|
406
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
407
|
-
charset %Charset; #IMPLIED -- char encoding of linked resource --
|
408
|
-
href %URI; #IMPLIED -- URI for linked resource --
|
409
|
-
hreflang %LanguageCode; #IMPLIED -- language code --
|
410
|
-
type %ContentType; #IMPLIED -- advisory content type --
|
411
|
-
rel %LinkTypes; #IMPLIED -- forward link types --
|
412
|
-
rev %LinkTypes; #IMPLIED -- reverse link types --
|
413
|
-
media %MediaDesc; #IMPLIED -- for rendering on these media --
|
414
|
-
target %FrameTarget; #IMPLIED -- render in this frame --
|
415
|
-
>
|
416
|
-
|
417
|
-
<!--=================== Images ===========================================-->
|
418
|
-
|
419
|
-
<!-- Length defined in strict DTD for cellpadding/cellspacing -->
|
420
|
-
<!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
|
421
|
-
<!ENTITY % MultiLength "CDATA" -- pixel, percentage, or relative -->
|
422
|
-
|
423
|
-
<!ENTITY % MultiLengths "CDATA" -- comma-separated list of MultiLength -->
|
424
|
-
|
425
|
-
<!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
|
426
|
-
|
427
|
-
<!ENTITY % IAlign "(top|middle|bottom|left|right)" -- center? -->
|
428
|
-
|
429
|
-
<!-- To avoid problems with text-only UAs as well as
|
430
|
-
to make image content understandable and navigable
|
431
|
-
to users of non-visual UAs, you need to provide
|
432
|
-
a description with ALT, and avoid server-side image maps -->
|
433
|
-
<!ELEMENT IMG - O EMPTY -- Embedded image -->
|
434
|
-
<!ATTLIST IMG
|
435
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
436
|
-
src %URI; #REQUIRED -- URI of image to embed --
|
437
|
-
alt %Text; #REQUIRED -- short description --
|
438
|
-
longdesc %URI; #IMPLIED -- link to long description
|
439
|
-
(complements alt) --
|
440
|
-
height %Length; #IMPLIED -- override height --
|
441
|
-
width %Length; #IMPLIED -- override width --
|
442
|
-
usemap %URI; #IMPLIED -- use client-side image map --
|
443
|
-
ismap (ismap) #IMPLIED -- use server-side image map --
|
444
|
-
align %IAlign; #IMPLIED -- vertical or horizontal alignment --
|
445
|
-
border %Length; #IMPLIED -- link border width --
|
446
|
-
hspace %Pixels; #IMPLIED -- horizontal gutter --
|
447
|
-
vspace %Pixels; #IMPLIED -- vertical gutter --
|
448
|
-
>
|
449
|
-
|
450
|
-
<!-- USEMAP points to a MAP element which may be in this document
|
451
|
-
or an external document, although the latter is not widely supported -->
|
452
|
-
|
453
|
-
<!--==================== OBJECT ======================================-->
|
454
|
-
<!--
|
455
|
-
OBJECT is used to embed objects as part of HTML pages
|
456
|
-
PARAM elements should precede other content. SGML mixed content
|
457
|
-
model technicality precludes specifying this formally ...
|
458
|
-
-->
|
459
|
-
|
460
|
-
<!ELEMENT OBJECT - - (PARAM | %flow;)*
|
461
|
-
-- generic embedded object -->
|
462
|
-
<!ATTLIST OBJECT
|
463
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
464
|
-
declare (declare) #IMPLIED -- declare but don't instantiate flag --
|
465
|
-
classid %URI; #IMPLIED -- identifies an implementation --
|
466
|
-
codebase %URI; #IMPLIED -- base URI for classid, data, archive--
|
467
|
-
data %URI; #IMPLIED -- reference to object's data --
|
468
|
-
type %ContentType; #IMPLIED -- content type for data --
|
469
|
-
codetype %ContentType; #IMPLIED -- content type for code --
|
470
|
-
archive %URI; #IMPLIED -- space separated archive list --
|
471
|
-
standby %Text; #IMPLIED -- message to show while loading --
|
472
|
-
height %Length; #IMPLIED -- override height --
|
473
|
-
width %Length; #IMPLIED -- override width --
|
474
|
-
usemap %URI; #IMPLIED -- use client-side image map --
|
475
|
-
name CDATA #IMPLIED -- submit as part of form --
|
476
|
-
tabindex NUMBER #IMPLIED -- position in tabbing order --
|
477
|
-
align %IAlign; #IMPLIED -- vertical or horizontal alignment --
|
478
|
-
border %Length; #IMPLIED -- link border width --
|
479
|
-
hspace %Pixels; #IMPLIED -- horizontal gutter --
|
480
|
-
vspace %Pixels; #IMPLIED -- vertical gutter --
|
481
|
-
%reserved; -- reserved for possible future use --
|
482
|
-
>
|
483
|
-
|
484
|
-
<!ELEMENT PARAM - O EMPTY -- named property value -->
|
485
|
-
<!ATTLIST PARAM
|
486
|
-
id ID #IMPLIED -- document-wide unique id --
|
487
|
-
name CDATA #REQUIRED -- property name --
|
488
|
-
value CDATA #IMPLIED -- property value --
|
489
|
-
valuetype (DATA|REF|OBJECT) DATA -- How to interpret value --
|
490
|
-
type %ContentType; #IMPLIED -- content type for value
|
491
|
-
when valuetype=ref --
|
492
|
-
>
|
493
|
-
|
494
|
-
<!--=================== Java APPLET ==================================-->
|
495
|
-
<!--
|
496
|
-
One of code or object attributes must be present.
|
497
|
-
Place PARAM elements before other content.
|
498
|
-
-->
|
499
|
-
<!ELEMENT APPLET - - (PARAM | %flow;)* -- Java applet -->
|
500
|
-
<!ATTLIST APPLET
|
501
|
-
%coreattrs; -- id, class, style, title --
|
502
|
-
codebase %URI; #IMPLIED -- optional base URI for applet --
|
503
|
-
archive CDATA #IMPLIED -- comma separated archive list --
|
504
|
-
code CDATA #IMPLIED -- applet class file --
|
505
|
-
object CDATA #IMPLIED -- serialized applet file --
|
506
|
-
alt %Text; #IMPLIED -- short description --
|
507
|
-
name CDATA #IMPLIED -- allows applets to find each other --
|
508
|
-
width %Length; #REQUIRED -- initial width --
|
509
|
-
height %Length; #REQUIRED -- initial height --
|
510
|
-
align %IAlign; #IMPLIED -- vertical or horizontal alignment --
|
511
|
-
hspace %Pixels; #IMPLIED -- horizontal gutter --
|
512
|
-
vspace %Pixels; #IMPLIED -- vertical gutter --
|
513
|
-
>
|
514
|
-
|
515
|
-
<!--=================== Horizontal Rule ==================================-->
|
516
|
-
|
517
|
-
<!ELEMENT HR - O EMPTY -- horizontal rule -->
|
518
|
-
<!ATTLIST HR
|
519
|
-
%coreattrs; -- id, class, style, title --
|
520
|
-
%events;
|
521
|
-
align (left|center|right) #IMPLIED
|
522
|
-
noshade (noshade) #IMPLIED
|
523
|
-
size %Pixels; #IMPLIED
|
524
|
-
width %Length; #IMPLIED
|
525
|
-
>
|
526
|
-
|
527
|
-
<!--=================== Paragraphs =======================================-->
|
528
|
-
|
529
|
-
<!ELEMENT P - O (%inline;)* -- paragraph -->
|
530
|
-
<!ATTLIST P
|
531
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
532
|
-
%align; -- align, text alignment --
|
533
|
-
>
|
534
|
-
|
535
|
-
<!--=================== Headings =========================================-->
|
536
|
-
|
537
|
-
<!--
|
538
|
-
There are six levels of headings from H1 (the most important)
|
539
|
-
to H6 (the least important).
|
540
|
-
-->
|
541
|
-
|
542
|
-
<!ELEMENT (%heading;) - - (%inline;)* -- heading -->
|
543
|
-
<!ATTLIST (%heading;)
|
544
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
545
|
-
%align; -- align, text alignment --
|
546
|
-
>
|
547
|
-
|
548
|
-
<!--=================== Preformatted Text ================================-->
|
549
|
-
|
550
|
-
<!-- excludes markup for images and changes in font size -->
|
551
|
-
<!ENTITY % pre.exclusion "IMG|OBJECT|APPLET|BIG|SMALL|SUB|SUP|FONT|BASEFONT">
|
552
|
-
|
553
|
-
<!ELEMENT PRE - - (%inline;)* -(%pre.exclusion;) -- preformatted text -->
|
554
|
-
<!ATTLIST PRE
|
555
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
556
|
-
width NUMBER #IMPLIED
|
557
|
-
>
|
558
|
-
|
559
|
-
<!--===================== Inline Quotes ==================================-->
|
560
|
-
|
561
|
-
<!ELEMENT Q - - (%inline;)* -- short inline quotation -->
|
562
|
-
<!ATTLIST Q
|
563
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
564
|
-
cite %URI; #IMPLIED -- URI for source document or msg --
|
565
|
-
>
|
566
|
-
|
567
|
-
<!--=================== Block-like Quotes ================================-->
|
568
|
-
|
569
|
-
<!ELEMENT BLOCKQUOTE - - (%flow;)* -- long quotation -->
|
570
|
-
<!ATTLIST BLOCKQUOTE
|
571
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
572
|
-
cite %URI; #IMPLIED -- URI for source document or msg --
|
573
|
-
>
|
574
|
-
|
575
|
-
<!--=================== Inserted/Deleted Text ============================-->
|
576
|
-
|
577
|
-
|
578
|
-
<!-- INS/DEL are handled by inclusion on BODY -->
|
579
|
-
<!ELEMENT (INS|DEL) - - (%flow;)* -- inserted text, deleted text -->
|
580
|
-
<!ATTLIST (INS|DEL)
|
581
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
582
|
-
cite %URI; #IMPLIED -- info on reason for change --
|
583
|
-
datetime %Datetime; #IMPLIED -- date and time of change --
|
584
|
-
>
|
585
|
-
|
586
|
-
<!--=================== Lists ============================================-->
|
587
|
-
|
588
|
-
<!-- definition lists - DT for term, DD for its definition -->
|
589
|
-
|
590
|
-
<!ELEMENT DL - - (DT|DD)+ -- definition list -->
|
591
|
-
<!ATTLIST DL
|
592
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
593
|
-
compact (compact) #IMPLIED -- reduced interitem spacing --
|
594
|
-
>
|
595
|
-
|
596
|
-
<!ELEMENT DT - O (%inline;)* -- definition term -->
|
597
|
-
<!ELEMENT DD - O (%flow;)* -- definition description -->
|
598
|
-
<!ATTLIST (DT|DD)
|
599
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
600
|
-
>
|
601
|
-
|
602
|
-
<!-- Ordered lists (OL) Numbering style
|
603
|
-
|
604
|
-
1 arablic numbers 1, 2, 3, ...
|
605
|
-
a lower alpha a, b, c, ...
|
606
|
-
A upper alpha A, B, C, ...
|
607
|
-
i lower roman i, ii, iii, ...
|
608
|
-
I upper roman I, II, III, ...
|
609
|
-
|
610
|
-
The style is applied to the sequence number which by default
|
611
|
-
is reset to 1 for the first list item in an ordered list.
|
612
|
-
|
613
|
-
This can't be expressed directly in SGML due to case folding.
|
614
|
-
-->
|
615
|
-
|
616
|
-
<!ENTITY % OLStyle "CDATA" -- constrained to: "(1|a|A|i|I)" -->
|
617
|
-
|
618
|
-
<!ELEMENT OL - - (LI)+ -- ordered list -->
|
619
|
-
<!ATTLIST OL
|
620
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
621
|
-
type %OLStyle; #IMPLIED -- numbering style --
|
622
|
-
compact (compact) #IMPLIED -- reduced interitem spacing --
|
623
|
-
start NUMBER #IMPLIED -- starting sequence number --
|
624
|
-
>
|
625
|
-
|
626
|
-
<!-- Unordered Lists (UL) bullet styles -->
|
627
|
-
<!ENTITY % ULStyle "(disc|square|circle)">
|
628
|
-
|
629
|
-
<!ELEMENT UL - - (LI)+ -- unordered list -->
|
630
|
-
<!ATTLIST UL
|
631
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
632
|
-
type %ULStyle; #IMPLIED -- bullet style --
|
633
|
-
compact (compact) #IMPLIED -- reduced interitem spacing --
|
634
|
-
>
|
635
|
-
|
636
|
-
<!ELEMENT (DIR|MENU) - - (LI)+ -(%block;) -- directory list, menu list -->
|
637
|
-
<!ATTLIST DIR
|
638
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
639
|
-
compact (compact) #IMPLIED
|
640
|
-
>
|
641
|
-
<!ATTLIST MENU
|
642
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
643
|
-
compact (compact) #IMPLIED
|
644
|
-
>
|
645
|
-
|
646
|
-
<!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle;|%OLStyle;)" -->
|
647
|
-
|
648
|
-
<!ELEMENT LI - O (%flow;)* -- list item -->
|
649
|
-
<!ATTLIST LI
|
650
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
651
|
-
type %LIStyle; #IMPLIED -- list item style --
|
652
|
-
value NUMBER #IMPLIED -- reset sequence number --
|
653
|
-
>
|
654
|
-
|
655
|
-
<!--================ Forms ===============================================-->
|
656
|
-
<!ELEMENT FORM - - (%flow;)* -(FORM) -- interactive form -->
|
657
|
-
<!ATTLIST FORM
|
658
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
659
|
-
action %URI; #REQUIRED -- server-side form handler --
|
660
|
-
method (GET|POST) GET -- HTTP method used to submit the form--
|
661
|
-
enctype %ContentType; "application/x-www-form-urlencoded"
|
662
|
-
onsubmit %Script; #IMPLIED -- the form was submitted --
|
663
|
-
onreset %Script; #IMPLIED -- the form was reset --
|
664
|
-
target %FrameTarget; #IMPLIED -- render in this frame --
|
665
|
-
accept-charset %Charsets; #IMPLIED -- list of supported charsets --
|
666
|
-
>
|
667
|
-
|
668
|
-
<!-- Each label must not contain more than ONE field -->
|
669
|
-
<!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text -->
|
670
|
-
<!ATTLIST LABEL
|
671
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
672
|
-
for IDREF #IMPLIED -- matches field ID value --
|
673
|
-
accesskey %Character; #IMPLIED -- accessibility key character --
|
674
|
-
onfocus %Script; #IMPLIED -- the element got the focus --
|
675
|
-
onblur %Script; #IMPLIED -- the element lost the focus --
|
676
|
-
>
|
677
|
-
|
678
|
-
<!ENTITY % InputType
|
679
|
-
"(TEXT | PASSWORD | CHECKBOX |
|
680
|
-
RADIO | SUBMIT | RESET |
|
681
|
-
FILE | HIDDEN | IMAGE | BUTTON)"
|
682
|
-
>
|
683
|
-
|
684
|
-
<!-- attribute name required for all but submit & reset -->
|
685
|
-
<!ELEMENT INPUT - O EMPTY -- form control -->
|
686
|
-
<!ATTLIST INPUT
|
687
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
688
|
-
type %InputType; TEXT -- what kind of widget is needed --
|
689
|
-
name CDATA #IMPLIED -- submit as part of form --
|
690
|
-
value CDATA #IMPLIED -- required for radio and checkboxes --
|
691
|
-
checked (checked) #IMPLIED -- for radio buttons and check boxes --
|
692
|
-
disabled (disabled) #IMPLIED -- unavailable in this context --
|
693
|
-
readonly (readonly) #IMPLIED -- for text and passwd --
|
694
|
-
size CDATA #IMPLIED -- specific to each type of field --
|
695
|
-
maxlength NUMBER #IMPLIED -- max chars for text fields --
|
696
|
-
src %URI; #IMPLIED -- for fields with images --
|
697
|
-
alt CDATA #IMPLIED -- short description --
|
698
|
-
usemap %URI; #IMPLIED -- use client-side image map --
|
699
|
-
tabindex NUMBER #IMPLIED -- position in tabbing order --
|
700
|
-
accesskey %Character; #IMPLIED -- accessibility key character --
|
701
|
-
onfocus %Script; #IMPLIED -- the element got the focus --
|
702
|
-
onblur %Script; #IMPLIED -- the element lost the focus --
|
703
|
-
onselect %Script; #IMPLIED -- some text was selected --
|
704
|
-
onchange %Script; #IMPLIED -- the element value was changed --
|
705
|
-
accept %ContentTypes; #IMPLIED -- list of MIME types for file upload --
|
706
|
-
align %IAlign; #IMPLIED -- vertical or horizontal alignment --
|
707
|
-
%reserved; -- reserved for possible future use --
|
708
|
-
>
|
709
|
-
|
710
|
-
<!ELEMENT SELECT - - (OPTGROUP|OPTION)+ -- option selector -->
|
711
|
-
<!ATTLIST SELECT
|
712
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
713
|
-
name CDATA #IMPLIED -- field name --
|
714
|
-
size NUMBER #IMPLIED -- rows visible --
|
715
|
-
multiple (multiple) #IMPLIED -- default is single selection --
|
716
|
-
disabled (disabled) #IMPLIED -- unavailable in this context --
|
717
|
-
tabindex NUMBER #IMPLIED -- position in tabbing order --
|
718
|
-
onfocus %Script; #IMPLIED -- the element got the focus --
|
719
|
-
onblur %Script; #IMPLIED -- the element lost the focus --
|
720
|
-
onchange %Script; #IMPLIED -- the element value was changed --
|
721
|
-
%reserved; -- reserved for possible future use --
|
722
|
-
>
|
723
|
-
|
724
|
-
<!ELEMENT OPTGROUP - - (OPTION)+ -- option group -->
|
725
|
-
<!ATTLIST OPTGROUP
|
726
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
727
|
-
disabled (disabled) #IMPLIED -- unavailable in this context --
|
728
|
-
label %Text; #REQUIRED -- for use in hierarchical menus --
|
729
|
-
>
|
730
|
-
|
731
|
-
<!ELEMENT OPTION - O (#PCDATA) -- selectable choice -->
|
732
|
-
<!ATTLIST OPTION
|
733
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
734
|
-
selected (selected) #IMPLIED
|
735
|
-
disabled (disabled) #IMPLIED -- unavailable in this context --
|
736
|
-
label %Text; #IMPLIED -- for use in hierarchical menus --
|
737
|
-
value CDATA #IMPLIED -- defaults to element content --
|
738
|
-
>
|
739
|
-
|
740
|
-
<!ELEMENT TEXTAREA - - (#PCDATA) -- multi-line text field -->
|
741
|
-
<!ATTLIST TEXTAREA
|
742
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
743
|
-
name CDATA #IMPLIED
|
744
|
-
rows NUMBER #REQUIRED
|
745
|
-
cols NUMBER #REQUIRED
|
746
|
-
disabled (disabled) #IMPLIED -- unavailable in this context --
|
747
|
-
readonly (readonly) #IMPLIED
|
748
|
-
tabindex NUMBER #IMPLIED -- position in tabbing order --
|
749
|
-
accesskey %Character; #IMPLIED -- accessibility key character --
|
750
|
-
onfocus %Script; #IMPLIED -- the element got the focus --
|
751
|
-
onblur %Script; #IMPLIED -- the element lost the focus --
|
752
|
-
onselect %Script; #IMPLIED -- some text was selected --
|
753
|
-
onchange %Script; #IMPLIED -- the element value was changed --
|
754
|
-
%reserved; -- reserved for possible future use --
|
755
|
-
>
|
756
|
-
|
757
|
-
<!--
|
758
|
-
#PCDATA is to solve the mixed content problem,
|
759
|
-
per specification only whitespace is allowed there!
|
760
|
-
-->
|
761
|
-
<!ELEMENT FIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group -->
|
762
|
-
<!ATTLIST FIELDSET
|
763
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
764
|
-
>
|
765
|
-
|
766
|
-
<!ELEMENT LEGEND - - (%inline;)* -- fieldset legend -->
|
767
|
-
<!ENTITY % LAlign "(top|bottom|left|right)">
|
768
|
-
|
769
|
-
<!ATTLIST LEGEND
|
770
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
771
|
-
accesskey %Character; #IMPLIED -- accessibility key character --
|
772
|
-
align %LAlign; #IMPLIED -- relative to fieldset --
|
773
|
-
>
|
774
|
-
|
775
|
-
<!ELEMENT BUTTON - -
|
776
|
-
(%flow;)* -(A|%formctrl;|FORM|ISINDEX|FIELDSET|IFRAME)
|
777
|
-
-- push button -->
|
778
|
-
<!ATTLIST BUTTON
|
779
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
780
|
-
name CDATA #IMPLIED
|
781
|
-
value CDATA #IMPLIED -- sent to server when submitted --
|
782
|
-
type (button|submit|reset) submit -- for use as form button --
|
783
|
-
disabled (disabled) #IMPLIED -- unavailable in this context --
|
784
|
-
tabindex NUMBER #IMPLIED -- position in tabbing order --
|
785
|
-
accesskey %Character; #IMPLIED -- accessibility key character --
|
786
|
-
onfocus %Script; #IMPLIED -- the element got the focus --
|
787
|
-
onblur %Script; #IMPLIED -- the element lost the focus --
|
788
|
-
%reserved; -- reserved for possible future use --
|
789
|
-
>
|
790
|
-
|
791
|
-
<!--======================= Tables =======================================-->
|
792
|
-
|
793
|
-
<!-- IETF HTML table standard, see [RFC1942] -->
|
794
|
-
|
795
|
-
<!--
|
796
|
-
The BORDER attribute sets the thickness of the frame around the
|
797
|
-
table. The default units are screen pixels.
|
798
|
-
|
799
|
-
The FRAME attribute specifies which parts of the frame around
|
800
|
-
the table should be rendered. The values are not the same as
|
801
|
-
CALS to avoid a name clash with the VALIGN attribute.
|
802
|
-
|
803
|
-
The value "border" is included for backwards compatibility with
|
804
|
-
<TABLE BORDER> which yields frame=border and border=implied
|
805
|
-
For <TABLE BORDER=1> you get border=1 and frame=implied. In this
|
806
|
-
case, it is appropriate to treat this as frame=border for backwards
|
807
|
-
compatibility with deployed browsers.
|
808
|
-
-->
|
809
|
-
<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
|
810
|
-
|
811
|
-
<!--
|
812
|
-
The RULES attribute defines which rules to draw between cells:
|
813
|
-
|
814
|
-
If RULES is absent then assume:
|
815
|
-
"none" if BORDER is absent or BORDER=0 otherwise "all"
|
816
|
-
-->
|
817
|
-
|
818
|
-
<!ENTITY % TRules "(none | groups | rows | cols | all)">
|
819
|
-
|
820
|
-
<!-- horizontal placement of table relative to document -->
|
821
|
-
<!ENTITY % TAlign "(left|center|right)">
|
822
|
-
|
823
|
-
<!-- horizontal alignment attributes for cell contents -->
|
824
|
-
<!ENTITY % cellhalign
|
825
|
-
"align (left|center|right|justify|char) #IMPLIED
|
826
|
-
char %Character; #IMPLIED -- alignment char, e.g. char=':' --
|
827
|
-
charoff %Length; #IMPLIED -- offset for alignment char --"
|
828
|
-
>
|
829
|
-
|
830
|
-
<!-- vertical alignment attributes for cell contents -->
|
831
|
-
<!ENTITY % cellvalign
|
832
|
-
"valign (top|middle|bottom|baseline) #IMPLIED"
|
833
|
-
>
|
834
|
-
|
835
|
-
<!ELEMENT TABLE - -
|
836
|
-
(CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>
|
837
|
-
<!ELEMENT CAPTION - - (%inline;)* -- table caption -->
|
838
|
-
<!ELEMENT THEAD - O (TR)+ -- table header -->
|
839
|
-
<!ELEMENT TFOOT - O (TR)+ -- table footer -->
|
840
|
-
<!ELEMENT TBODY O O (TR)+ -- table body -->
|
841
|
-
<!ELEMENT COLGROUP - O (col)* -- table column group -->
|
842
|
-
<!ELEMENT COL - O EMPTY -- table column -->
|
843
|
-
<!ELEMENT TR - O (TH|TD)+ -- table row -->
|
844
|
-
<!ELEMENT (TH|TD) - O (%flow;)* -- table header cell, table data cell-->
|
845
|
-
|
846
|
-
<!ATTLIST TABLE -- table element --
|
847
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
848
|
-
summary %Text; #IMPLIED -- purpose/structure for speech output--
|
849
|
-
width %Length; #IMPLIED -- table width --
|
850
|
-
border %Pixels; #IMPLIED -- controls frame width around table --
|
851
|
-
frame %TFrame; #IMPLIED -- which parts of frame to render --
|
852
|
-
rules %TRules; #IMPLIED -- rulings between rows and cols --
|
853
|
-
cellspacing %Length; #IMPLIED -- spacing between cells --
|
854
|
-
cellpadding %Length; #IMPLIED -- spacing within cells --
|
855
|
-
align %TAlign; #IMPLIED -- table position relative to window --
|
856
|
-
bgcolor %Color; #IMPLIED -- background color for cells --
|
857
|
-
%reserved; -- reserved for possible future use --
|
858
|
-
datapagesize CDATA #IMPLIED -- reserved for possible future use --
|
859
|
-
>
|
860
|
-
|
861
|
-
<!ENTITY % CAlign "(top|bottom|left|right)">
|
862
|
-
|
863
|
-
<!ATTLIST CAPTION
|
864
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
865
|
-
align %CAlign; #IMPLIED -- relative to table --
|
866
|
-
>
|
867
|
-
|
868
|
-
<!--
|
869
|
-
COLGROUP groups a set of COL elements. It allows you to group
|
870
|
-
several semantically related columns together.
|
871
|
-
-->
|
872
|
-
<!ATTLIST COLGROUP
|
873
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
874
|
-
span NUMBER 1 -- default number of columns in group --
|
875
|
-
width %MultiLength; #IMPLIED -- default width for enclosed COLs --
|
876
|
-
%cellhalign; -- horizontal alignment in cells --
|
877
|
-
%cellvalign; -- vertical alignment in cells --
|
878
|
-
>
|
879
|
-
|
880
|
-
<!--
|
881
|
-
COL elements define the alignment properties for cells in
|
882
|
-
one or more columns.
|
883
|
-
|
884
|
-
The WIDTH attribute specifies the width of the columns, e.g.
|
885
|
-
|
886
|
-
width=64 width in screen pixels
|
887
|
-
width=0.5* relative width of 0.5
|
888
|
-
|
889
|
-
The SPAN attribute causes the attributes of one
|
890
|
-
COL element to apply to more than one column.
|
891
|
-
-->
|
892
|
-
<!ATTLIST COL -- column groups and properties --
|
893
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
894
|
-
span NUMBER 1 -- COL attributes affect N columns --
|
895
|
-
width %MultiLength; #IMPLIED -- column width specification --
|
896
|
-
%cellhalign; -- horizontal alignment in cells --
|
897
|
-
%cellvalign; -- vertical alignment in cells --
|
898
|
-
>
|
899
|
-
|
900
|
-
<!--
|
901
|
-
Use THEAD to duplicate headers when breaking table
|
902
|
-
across page boundaries, or for static headers when
|
903
|
-
TBODY sections are rendered in scrolling panel.
|
904
|
-
|
905
|
-
Use TFOOT to duplicate footers when breaking table
|
906
|
-
across page boundaries, or for static footers when
|
907
|
-
TBODY sections are rendered in scrolling panel.
|
908
|
-
|
909
|
-
Use multiple TBODY sections when rules are needed
|
910
|
-
between groups of table rows.
|
911
|
-
-->
|
912
|
-
<!ATTLIST (THEAD|TBODY|TFOOT) -- table section --
|
913
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
914
|
-
%cellhalign; -- horizontal alignment in cells --
|
915
|
-
%cellvalign; -- vertical alignment in cells --
|
916
|
-
>
|
917
|
-
|
918
|
-
<!ATTLIST TR -- table row --
|
919
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
920
|
-
%cellhalign; -- horizontal alignment in cells --
|
921
|
-
%cellvalign; -- vertical alignment in cells --
|
922
|
-
bgcolor %Color; #IMPLIED -- background color for row --
|
923
|
-
>
|
924
|
-
|
925
|
-
|
926
|
-
<!-- Scope is simpler than axes attribute for common tables -->
|
927
|
-
<!ENTITY % Scope "(row|col|rowgroup|colgroup)">
|
928
|
-
|
929
|
-
<!-- TH is for headers, TD for data, but for cells acting as both use TD -->
|
930
|
-
<!ATTLIST (TH|TD) -- header or data cell --
|
931
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
932
|
-
abbr %Text; #IMPLIED -- abbreviation for header cell --
|
933
|
-
axis CDATA #IMPLIED -- names groups of related headers--
|
934
|
-
headers IDREFS #IMPLIED -- list of id's for header cells --
|
935
|
-
scope %Scope; #IMPLIED -- scope covered by header cells --
|
936
|
-
rowspan NUMBER 1 -- number of rows spanned by cell --
|
937
|
-
colspan NUMBER 1 -- number of cols spanned by cell --
|
938
|
-
%cellhalign; -- horizontal alignment in cells --
|
939
|
-
%cellvalign; -- vertical alignment in cells --
|
940
|
-
nowrap (nowrap) #IMPLIED -- suppress word wrap --
|
941
|
-
bgcolor %Color; #IMPLIED -- cell background color --
|
942
|
-
width %Pixels; #IMPLIED -- width for cell --
|
943
|
-
height %Pixels; #IMPLIED -- height for cell --
|
944
|
-
>
|
945
|
-
|
946
|
-
<!--================== Document Frames ===================================-->
|
947
|
-
|
948
|
-
<!--
|
949
|
-
The content model for HTML documents depends on whether the HEAD is
|
950
|
-
followed by a FRAMESET or BODY element. The widespread omission of
|
951
|
-
the BODY start tag makes it impractical to define the content model
|
952
|
-
without the use of a marked section.
|
953
|
-
-->
|
954
|
-
|
955
|
-
<!-- Feature Switch for frameset documents -->
|
956
|
-
<!ENTITY % HTML.Frameset "IGNORE">
|
957
|
-
|
958
|
-
<![ %HTML.Frameset; [
|
959
|
-
<!ELEMENT FRAMESET - - ((FRAMESET|FRAME)+ & NOFRAMES?) -- window subdivision-->
|
960
|
-
<!ATTLIST FRAMESET
|
961
|
-
%coreattrs; -- id, class, style, title --
|
962
|
-
rows %MultiLengths; #IMPLIED -- list of lengths,
|
963
|
-
default: 100% (1 row) --
|
964
|
-
cols %MultiLengths; #IMPLIED -- list of lengths,
|
965
|
-
default: 100% (1 col) --
|
966
|
-
onload %Script; #IMPLIED -- all the frames have been loaded --
|
967
|
-
onunload %Script; #IMPLIED -- all the frames have been removed --
|
968
|
-
>
|
969
|
-
]]>
|
970
|
-
|
971
|
-
<![ %HTML.Frameset; [
|
972
|
-
<!-- reserved frame names start with "_" otherwise starts with letter -->
|
973
|
-
<!ELEMENT FRAME - O EMPTY -- subwindow -->
|
974
|
-
<!ATTLIST FRAME
|
975
|
-
%coreattrs; -- id, class, style, title --
|
976
|
-
longdesc %URI; #IMPLIED -- link to long description
|
977
|
-
(complements title) --
|
978
|
-
name CDATA #IMPLIED -- name of frame for targetting --
|
979
|
-
src %URI; #IMPLIED -- source of frame content --
|
980
|
-
frameborder (1|0) 1 -- request frame borders? --
|
981
|
-
marginwidth %Pixels; #IMPLIED -- margin widths in pixels --
|
982
|
-
marginheight %Pixels; #IMPLIED -- margin height in pixels --
|
983
|
-
noresize (noresize) #IMPLIED -- allow users to resize frames? --
|
984
|
-
scrolling (yes|no|auto) auto -- scrollbar or none --
|
985
|
-
>
|
986
|
-
]]>
|
987
|
-
|
988
|
-
<!ELEMENT IFRAME - - (%flow;)* -- inline subwindow -->
|
989
|
-
<!ATTLIST IFRAME
|
990
|
-
%coreattrs; -- id, class, style, title --
|
991
|
-
longdesc %URI; #IMPLIED -- link to long description
|
992
|
-
(complements title) --
|
993
|
-
name CDATA #IMPLIED -- name of frame for targetting --
|
994
|
-
src %URI; #IMPLIED -- source of frame content --
|
995
|
-
frameborder (1|0) 1 -- request frame borders? --
|
996
|
-
marginwidth %Pixels; #IMPLIED -- margin widths in pixels --
|
997
|
-
marginheight %Pixels; #IMPLIED -- margin height in pixels --
|
998
|
-
scrolling (yes|no|auto) auto -- scrollbar or none --
|
999
|
-
align %IAlign; #IMPLIED -- vertical or horizontal alignment --
|
1000
|
-
height %Length; #IMPLIED -- frame height --
|
1001
|
-
width %Length; #IMPLIED -- frame width --
|
1002
|
-
>
|
1003
|
-
|
1004
|
-
<![ %HTML.Frameset; [
|
1005
|
-
<!ENTITY % noframes.content "(BODY) -(NOFRAMES)">
|
1006
|
-
]]>
|
1007
|
-
|
1008
|
-
<!ENTITY % noframes.content "(%flow;)*">
|
1009
|
-
|
1010
|
-
<!ELEMENT NOFRAMES - - %noframes.content;
|
1011
|
-
-- alternate content container for non frame-based rendering -->
|
1012
|
-
<!ATTLIST NOFRAMES
|
1013
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
1014
|
-
>
|
1015
|
-
|
1016
|
-
<!--================ Document Head =======================================-->
|
1017
|
-
<!-- %head.misc; defined earlier on as "SCRIPT|STYLE|META|LINK|OBJECT" -->
|
1018
|
-
<!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
|
1019
|
-
|
1020
|
-
<!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head -->
|
1021
|
-
<!ATTLIST HEAD
|
1022
|
-
%i18n; -- lang, dir --
|
1023
|
-
profile %URI; #IMPLIED -- named dictionary of meta info --
|
1024
|
-
>
|
1025
|
-
|
1026
|
-
<!-- The TITLE element is not considered part of the flow of text.
|
1027
|
-
It should be displayed, for example as the page header or
|
1028
|
-
window title. Exactly one title is required per document.
|
1029
|
-
-->
|
1030
|
-
<!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title -->
|
1031
|
-
<!ATTLIST TITLE %i18n>
|
1032
|
-
|
1033
|
-
<!ELEMENT ISINDEX - O EMPTY -- single line prompt -->
|
1034
|
-
<!ATTLIST ISINDEX
|
1035
|
-
%coreattrs; -- id, class, style, title --
|
1036
|
-
%i18n; -- lang, dir --
|
1037
|
-
prompt %Text; #IMPLIED -- prompt message -->
|
1038
|
-
|
1039
|
-
<!ELEMENT BASE - O EMPTY -- document base URI -->
|
1040
|
-
<!ATTLIST BASE
|
1041
|
-
href %URI; #IMPLIED -- URI that acts as base URI --
|
1042
|
-
target %FrameTarget; #IMPLIED -- render in this frame --
|
1043
|
-
>
|
1044
|
-
|
1045
|
-
<!ELEMENT META - O EMPTY -- generic metainformation -->
|
1046
|
-
<!ATTLIST META
|
1047
|
-
%i18n; -- lang, dir, for use with content --
|
1048
|
-
http-equiv NAME #IMPLIED -- HTTP response header name --
|
1049
|
-
name NAME #IMPLIED -- metainformation name --
|
1050
|
-
content CDATA #REQUIRED -- associated information --
|
1051
|
-
scheme CDATA #IMPLIED -- select form of content --
|
1052
|
-
>
|
1053
|
-
|
1054
|
-
<!ELEMENT STYLE - - %StyleSheet -- style info -->
|
1055
|
-
<!ATTLIST STYLE
|
1056
|
-
%i18n; -- lang, dir, for use with title --
|
1057
|
-
type %ContentType; #REQUIRED -- content type of style language --
|
1058
|
-
media %MediaDesc; #IMPLIED -- designed for use with these media --
|
1059
|
-
title %Text; #IMPLIED -- advisory title --
|
1060
|
-
>
|
1061
|
-
|
1062
|
-
<!ELEMENT SCRIPT - - %Script; -- script statements -->
|
1063
|
-
<!ATTLIST SCRIPT
|
1064
|
-
charset %Charset; #IMPLIED -- char encoding of linked resource --
|
1065
|
-
type %ContentType; #REQUIRED -- content type of script language --
|
1066
|
-
language CDATA #IMPLIED -- predefined script language name --
|
1067
|
-
src %URI; #IMPLIED -- URI for an external script --
|
1068
|
-
defer (defer) #IMPLIED -- UA may defer execution of script --
|
1069
|
-
event CDATA #IMPLIED -- reserved for possible future use --
|
1070
|
-
for %URI; #IMPLIED -- reserved for possible future use --
|
1071
|
-
>
|
1072
|
-
|
1073
|
-
<!ELEMENT NOSCRIPT - - (%flow;)*
|
1074
|
-
-- alternate content container for non script-based rendering -->
|
1075
|
-
<!ATTLIST NOSCRIPT
|
1076
|
-
%attrs; -- %coreattrs, %i18n, %events --
|
1077
|
-
>
|
1078
|
-
|
1079
|
-
<!--================ Document Structure ==================================-->
|
1080
|
-
<!ENTITY % version "version CDATA #FIXED '%HTML.Version;'">
|
1081
|
-
|
1082
|
-
<![ %HTML.Frameset; [
|
1083
|
-
<!ENTITY % html.content "HEAD, FRAMESET">
|
1084
|
-
]]>
|
1085
|
-
|
1086
|
-
<!ENTITY % html.content "HEAD, BODY">
|
1087
|
-
|
1088
|
-
<!ELEMENT HTML O O (%html.content;) -- document root element -->
|
1089
|
-
<!ATTLIST HTML
|
1090
|
-
%i18n; -- lang, dir --
|
1091
|
-
%version;
|
1092
|
-
>
|