Samuel, > This is a known bug in CFMX. Is the Bug reported to Macromedia, any work around this? Basically i am trying to use DOM Standard Parsing Java API's.
Thanks, Joe ----- Original Message ----- From: "Samuel Neff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 31, 2003 8:45 AM Subject: RE: [CFCDev] Java DOM API's(Crimson/Xerces) in CFMX > > This is a known bug in CFMX. > > I ran into it in one of my UDF's, see this blog entry: > http://www.rewindlife.com/archives/000041.cfm > > FYI, StructBean's are CF's wrapper/proxy objects for Java real object > instances. When you create a java object through createObject, you get back > a StructBean. Usually you can use it just like a Java object and everything > works fine, but occasionally you'll get this access error (due to > reflection) and on rarer occasions method calls get ignored ('cause they get > run against StructBean and not the underlying Java object). > > HTH, > > Sam > > > ---------------------------------------------- > Blog: http://www.rewindlife.com > Chart: http://www.blinex.com/products/charting > ---------------------------------------------- > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, July 30, 2003 11:26 PM > > To: cfczone; CF-Talk > > Subject: [CFCDev] Java DOM API's(Crimson/Xerces) in CFMX > > > > Anybody tried to access Java DOM Objects returned to CFMX with > > the DocumentBuilderFactory interface? > > > > I can get the DOM into CFMX, but when i try to use methods like > > doc.getElementsByTagName("SomeElement")... i get an error.. > > > > ------------------- > > Class coldfusion.runtime.StructBean can not access a member of > > class org.apache.crimson.tree.ParentNode with modifiers "public" > > ------------------ > > > > Are there restrictions? Any Ideas > > > > Thanks, > > Joe Eugene > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
