This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/sgml/Test/mapbug.sgml
2009-03-13 19:39:06 +00:00

42 lines
738 B
Plaintext

<!DOCTYPE D [
<!ELEMENT D O O (P+)>
<!ELEMENT P O O (#PCDATA|Q|M)*>
<!ELEMENT Q - - (#PCDATA|M)*>
<!ELEMENT M - - (#PCDATA)>
<!ENTITY P STARTTAG "P">
<!ENTITY beg.q STARTTAG "Q">
<!ENTITY end.q ENDTAG "Q">
<!ENTITY err.q STARTTAG "MISS-Q">
<!ENTITY beg.m STARTTAG "M">
<!ENTITY end.m ENDTAG "M">
<!ENTITY err.m STARTTAG "MISS-PCT">
<!SHORTREF For.D
"%" beg.m
"&#RS;&#RE;" P
'"' beg.q
>
<!USEMAP For.D (D|P)>
<!SHORTREF For.Q
"%" beg.m
"&#RS;&#RE;" err.q
'"' end.q
>
<!USEMAP For.Q (Q)>
<!SHORTREF For.M
"%" end.m
"&#RS;&#RE;" err.m
>
<!USEMAP For.M (M)>
]>
The "first" paragraph.
The "%2%nd" paragraph.
The %3%rd paragraph.