- From: Grosso, Paul <pgrosso@ptc.com>
- Date: Wed, 21 Oct 2009 13:49:59 -0400
- To: <public-xml-core-wg@w3.org>
I can't imagine we didn't discuss this, but my memory fails me, and I don't see the answer in the spec. How, if at all, does xml:base affect the system id of a parsed entity declaration? Given the following document at /root/mydoc.xml (and assuming that the external subset declares entityref as an attribute of type ENTITY): <!DOCTYPE doc PUBLIC "some external subset" [ <!ENTITY logo SYSTEM "graphics/logo.gif" GIF> ]> <doc> <div xml:base="/other/"> <graphic entityref="logo"/> </div> </doc> is the effective URI used by the graphic element /root/graphics/logo.gif or /other/graphics/logo.gif paul
Received on Wednesday, 21 October 2009 17:50:55 UTC