Subject | Re: [Firebird-Java] Re: How to specify RoleName in the JNDI resource? |
---|---|
Author | Jose Maria Lopez Lagunas |
Post date | 2002-11-15T10:17Z |
In XML, the & symbol is used to make references to entities, so it is
treated like a special character. The XML parser expects to find
something like &entityname;
That is why it says that "it must end with the ';' delimiter".
Maybe you should use: & or &#X; (X is the code, I don't know the
number) instead of '&'. The parser will change by '&', I guess.
Andrew Guts wrote:
treated like a special character. The XML parser expects to find
something like &entityname;
That is why it says that "it must end with the ';' delimiter".
Maybe you should use: & or &#X; (X is the code, I don't know the
number) instead of '&'. The parser will change by '&', I guess.
Andrew Guts wrote:
>Roman, thank you for the answer, but problem is still exists....
>
>Roman Rokytskyy wrote:
>
>
>
>>Hi,
>>
>>Just for your information: you can pass any DPB parameter by
>>stripping the "isc_dpb_" from the DPB parameter name. In case of
>>roles this would be:
>>
>>...my.gdb?sql_role_name=guest&lc_ctype=WIN1251
>>
>>
>>
>Adding role name to URL causes this:
>
>15.11.2002 11:22:19 org.apache.commons.digester.Digester fatalError
>SEVERE: Parse Fatal Error at line 62 column 94: The reference to entity
>"lc_ctype" must end with the ';' delimiter.
>org.xml.sax.SAXParseException: The reference to entity "lc_ctype" must
>end with the ';' delimiter.
>
>Parameter order doesn't matter. The error message always point to the
>last parameter.
>
>
>
>>If Tomcat passes all parameters to the driver, you can try
>>
>> <parameter>
>> <name>sql_role_name</name>
>> <value>guest</value>
>> </parameter>
>>
>>
>>
>>
>>
>>
>It doesn't work. I guess it just ignored, like "lc_ctype" provided in
>such manner.
>
>:-(
>
>Andrew
>
>
>
>To unsubscribe from this group, send an email to:
>Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>