[thelist] xml ampersand in entity problem
Denis, David
DDenis at inlumen.com
Fri Sep 28 10:49:34 CDT 2001
I have the following:
<!DOCTYPE data SYSTEM "mydtd.dtd"
[
<!ENTITY foo SYSTEM "http://www.somedomain.com/bin/cgi?x=1&y=2">
]>
<bar>
&foo;
</bar>
I've had the problem where the parser will choke on the '&' here but using
the entity value '&' just gets sent to the server as is (this is with
MSXML
anyway), just like Tony's problem. I don't understand why the entity value
isn't replaced in the URL when trying to fetch the resource, that's the way
I understand the spec to read; instead I get '/bin/cgi?x=1&y=2'. Is
this something wrong in MSXML?
Dave
More information about the thelist
mailing list