Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/9x9/xmlData34I.xml

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


<!DOCTYPE test [
<!ELEMENT test (#PCDATA) >
<!ENTITY xx 'xyzzy' >
<!ENTITY yy 'xx;/bar' >
<!ENTITY zz '&xx;/bar' >
]>
<test tricky1="foo/#38;&yy;" tricky2="foo/&zz;" />

<!-- I think the result should be:
<test tricky1="foo/&xx;/bar" tricky2="foo/xyzzy/bar" />

because in the 'tricky1' case, only the substituted text for &yy; is 
reprocessed, not the entire attribute after subsitution of &yy;
?
-->

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.