Re: Xerces Question

2003-03-19 Thread Jean-Francois Arcand
From your description, everything seems fine. Does the error occurs 
only inside Tomcat or if you parse your file using the command line if 
also choke?

-- Jeanfrancois

Bill Barker wrote:

I've been trying to set up a CLIENT-CERT authentication for MemoryRealm (one
of the few that handles it :).  The CN for the cert has embedded quot;
characters in it.  It seems that xerces chokes on attributes that have
quot; embedded in them (which I had learned was the only reason to have
quot; defined in the first place :).  I've tried all of the XML tricks that
I know (e.g. !ENTITY quote #x026;#x022;), but nothing works.  Any hints
on how to embed quot; into an attribute?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Xerces Question

2003-03-19 Thread Costin Manolache
Bill Barker wrote:

 I've been trying to set up a CLIENT-CERT authentication for MemoryRealm
 (one
 of the few that handles it :).  The CN for the cert has embedded quot;
 characters in it.  It seems that xerces chokes on attributes that have
 quot; embedded in them (which I had learned was the only reason to have
 quot; defined in the first place :).  I've tried all of the XML tricks
 that
 I know (e.g. !ENTITY quote #x026;#x022;), but nothing works.  Any
 hints on how to embed quot; into an attribute?

Just don't embed it in the attribute :-), add an element and make it 
normal CDATA.

Costin




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Xerces Question

2003-03-19 Thread Bill Barker
I didn't try the command line, but from within Tomcat it certainly didn't
like it :).  Strangely, I get a different error with DataSourceRealm (not
that it helps, since DSR doesn't support CLIENT-CERT).

Costin's suggestion of hacking MemoryRuleSet to take elements sounds like
the easiest way to go.

- Original Message -
From: Jean-Francois Arcand [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 7:19 AM
Subject: Re: Xerces Question


 From your description, everything seems fine. Does the error occurs
 only inside Tomcat or if you parse your file using the command line if
 also choke?

 -- Jeanfrancois

 Bill Barker wrote:

 I've been trying to set up a CLIENT-CERT authentication for MemoryRealm
(one
 of the few that handles it :).  The CN for the cert has embedded quot;
 characters in it.  It seems that xerces chokes on attributes that have
 quot; embedded in them (which I had learned was the only reason to have
 quot; defined in the first place :).  I've tried all of the XML tricks
that
 I know (e.g. !ENTITY quote #x026;#x022;), but nothing works.  Any
hints
 on how to embed quot; into an attribute?
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Xerces Question

2003-03-18 Thread Bill Barker
I've been trying to set up a CLIENT-CERT authentication for MemoryRealm (one
of the few that handles it :).  The CN for the cert has embedded quot;
characters in it.  It seems that xerces chokes on attributes that have
quot; embedded in them (which I had learned was the only reason to have
quot; defined in the first place :).  I've tried all of the XML tricks that
I know (e.g. !ENTITY quote #x026;#x022;), but nothing works.  Any hints
on how to embed quot; into an attribute?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]