On Jun 18, 2004, at 11:59 AM, Adam Heinz wrote:

You're right, "has a" makes a lot more sense.

I'm going to have to wait for the next point release to use
mTranscoder, but where can I find this LCP adapter?  A couple
greps didn't turn it up.

The MacOSLCPTranscoder in the current code _is_ the adapter. It does nothing specific to transcoding of the Mac code page--it's sole purpose in life is to implement the LCPTranscoder interface using whatever XMLTranscoder has been passed into it...be that a transcoder to the current code page or any other transcoder.


An adapter will certainly get me past my current development
issues, but that doesn't soothe the interface gap between the
high-level LCP and the low-level XML transcoders.  It would be
nice if there was a rough symmetry between the two, perhaps
transcodeFrom(char*) in LCP and transcodeFrom(XMLByte*, etc...)
in XML.  Maybe another adapter could allow the simplicity of
the LCP functions, but not be bound to a specific code page.

As I mention above, that is exactly what the MacOSLCPTranscoder does--just pass in whatever transcoder you want.



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



Reply via email to