Share

CFXML_Blog

Tracker: Bugs

5 xml error parsing users.xml - ID: 1035058
Last Update: Tracker Item Submitted ( byronj )

Hi,

Using MX7 (Blackstone).

This error on login:
Error casting an object of type java.lang.String to an
incompatible type. This usually indicates a programming
error in Java, although it could also mean you have
tried to use a foreign object in a different way than
it was designed.
java.lang.String

The error occurred in
C:\Inetpub\wwwroot\cfxml_blog\Application.cfm: line 52

50 : <cfif IsDefined("cflogin")>
51 : <cfset
stringaricerca="//user[@name='"&#cflogin.name#&"']">
52 : <cfset
ricerca=xmlsearch(application.users,stringaricerca)>
53 : <cfif not ArrayIsEmpty(ricerca)>
54 : <cfset id=ricerca[1].xmlattributes.id>

can't debug as I cannot successfully decrypt the
users.xml file to examine the strxuture of the XML in it.

On MX 6.1 the error reports to be as follows:

Whitespace required before attributes.
Whitespace required before attributes.

Over to you. Send me an inencrypted source file for
users.xml and I can solve this issue.

BYron


Byron Bignell ( byronj ) - 2004-09-26 15:53

5

Open

None

Nobody/Anonymous

None

Current Beta Release

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.