3
BEGIN { plan tests => 1; }
7
# XML::LibXML->load_catalog( "example/catalog.xml" );
9
# the following document should not be able to get parsed
10
# if the catalog is not available
12
my $doc = XML::LibXML->new( catalog => "example/catalog.xml" )->parse_string(<<EOF);
14
PUBLIC "-//Perl//XML LibXML V4.1.2//EN"
15
"http://axkit.org/xml-libxml/test.dtd">
17
<pubData>Something here</pubData>
18
<pubArticleID>12345</pubArticleID>
19
<pubDate>2001-04-01</pubDate>
20
<pubName>XML.com</pubName>
21
<section>Foo</section>
22
<lead>Here's some leading text</lead>
23
<rest>And here is the rest...</rest>
b'\\ No newline at end of file'