xml - External system entities are not working for me in Chrome, IE or Netscape. What am I doing wrong? -
i attempting replicate example given in answer:
https://stackoverflow.com/a/5127928/356011
that illustrates using external entities include fragment of xml file in xml file.
doc.xml:
<?xml version="1.0" standalone="no" ?> <!doctype doc [ <!entity otherfile system "otherfile.xml"> ]> <doc> <foo> <bar>&otherfile;</bar> </foo> </doc>
otherfile.xml:
<baz>this content</baz>
when attempt test opening doc.xml in browser, get:
<doc> <foo> <bar/> </foo> </doc>
rendered.
shouldn't rendering included file, well?
the reason isn't working browsers don't support xml. support restrictions, such "no external entities". don't know why.
Comments
Post a Comment