Hi,
I'm using mysql via JDBC and I need to encode a password with non-alphabet characters in it like % in my server.xml.
Do I use a URL encoding for this or an XML encoding?
I don't know for sure as I haven't used mysql specifically, but if the password will be read by an xml parser, then you'll want to xml encode it. If the password is part of a URI that is specified in an XML, then you'll want to URL-encode the character(s) and XML encode any problematic characters from that output.
Also while I'm on the subject, do I have to encode or escape a double-quote in an xml attribute:
<mynode attr1="blahblah\"blah\"blah"/>
" in this case. This can depend on your parser (or at least it has in older parsers).
Thanks Adam
justin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
