Thread: [SourceJammer-users] Error INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified
Brought to you by:
robertmacgrogan
From: Gavin G. <gav...@gm...> - 2005-06-22 06:19:10
|
Hi I am a first time user. I have quickly scanned the manuals, FAQ and mail=20 lists. The symptom of the problem I have is Error INVALID_CHARACTER_ERR: An invalid or illegal XML character is=20 specified =20 I have downloaded and installed (on Windows PCs running XP pro): - sourcejammer-client-2.1.2.0.beta.1.gpl.zip (client PC, incidently=20 with JDK 1.5) - sourcejammer-server-2.1.0.0.gpl.zip (server on a server PC) - j2sdk-1_4_2_04-windows-i586-p.exe=20 - jakarta-tomcat-5.0.28.exe =20 I used the client to "Add File(s)" to the archive. In this case I used a=20 complete eclipse project for testing purposes (Note - I am not using the=20 eclipse sourcejammer plugin). All the files seem to be added successfully= =20 (ie I got "# Added project: .metadata" "# Added file: .lock" (which is in= =20 the .metadata dir), etc). Then, on the client, when I click for example on= =20 ".metadata" in the Projects dir tree, I get the above error. No archived=20 files are displayed for ".metadata" in the Files table display. However,=20 under "src" there are the ".java" files archived correctly. Regards Gavin Gray |
From: Albert M. <amo...@ev...> - 2005-06-22 06:53:20
|
Does any of the files or directories contain an ampersand '&' or a = non-ASCII char, like for example '=F6'? ----- Original Message -----=20 From: Gavin Gray=20 To: sou...@li...=20 Sent: Wednesday, June 22, 2005 8:19 AM Subject: [SourceJammer-users] Error INVALID_CHARACTER_ERR: An invalid = or illegal XML character is specified Hi I am a first time user. I have quickly scanned the manuals, FAQ and = mail lists. The symptom of the problem I have is Error INVALID_CHARACTER_ERR: An invalid or illegal XML character is = specified I have downloaded and installed (on Windows PCs running XP pro): a.. sourcejammer-client-2.1.2.0.beta.1.gpl.zip (client PC, = incidently with JDK 1.5) b.. sourcejammer-server-2.1.0.0.gpl.zip (server on a server PC) c.. j2sdk-1_4_2_04-windows-i586-p.exe=20 d.. jakarta-tomcat-5.0.28.exe I used the client to "Add File(s)" to the archive. In this case I used = a complete eclipse project for testing purposes (Note - I am not using = the eclipse sourcejammer plugin). All the files seem to be added = successfully (ie I got "# Added project: .metadata" "# Added file: = .lock" (which is in the .metadata dir), etc). Then, on the client, when = I click for example on ".metadata" in the Projects dir tree, I get the = above error. No archived files are displayed for ".metadata" in the = Files table display. However, under "src" there are the ".java" files = archived correctly. Regards Gavin Gray |
From: Albert M. <amo...@ev...> - 2005-06-22 07:44:51
|
Yes, SJ can manage binary files. Sorry, I should have specified that those characters can provoke = problems if they are in the file/folder name. Inside a file, binary = chars may generate errors only if the file has been uploaded as text, = not as binary. So, any file with some suspectful character in its name? Albert. ----- Original Message -----=20 From: Gavin Gray=20 To: Albert Moliner=20 Sent: Wednesday, June 22, 2005 9:23 AM Subject: Re: [SourceJammer-users] Error INVALID_CHARACTER_ERR: An = invalid or illegal XML character is specified Some depth into .metadata (ie = .metadata\.plugins\org.eclipse.core.resources\.projects\GtgDiff01) there = is a file .markers which is binary, and thus contains numerous strange = characters. Is SourceJammer unable to manage such files? On 6/22/05, Albert Moliner <amo...@ev... > wrote: Does any of the files or directories contain an ampersand '&' or a = non-ASCII char, like for example '=F6'? ----- Original Message -----=20 From: Gavin Gray=20 To: sou...@li...=20 Sent: Wednesday, June 22, 2005 8:19 AM Subject: [SourceJammer-users] Error INVALID_CHARACTER_ERR: An = invalid or illegal XML character is specified Hi I am a first time user. I have quickly scanned the manuals, FAQ = and mail lists. The symptom of the problem I have is Error INVALID_CHARACTER_ERR: An invalid or illegal XML character = is specified I have downloaded and installed (on Windows PCs running XP pro): a.. sourcejammer-client-2.1.2.0.beta.1.gpl.zip (client PC, = incidently with JDK 1.5) b.. sourcejammer-server-2.1.0.0.gpl.zip (server on a server PC) c.. j2sdk-1_4_2_04-windows-i586-p.exe=20 d.. jakarta-tomcat-5.0.28.exe I used the client to "Add File(s)" to the archive. In this case I = used a complete eclipse project for testing purposes (Note - I am not = using the eclipse sourcejammer plugin). All the files seem to be added = successfully (ie I got "# Added project: .metadata" "# Added file: = .lock" (which is in the .metadata dir), etc). Then, on the client, when = I click for example on ".metadata" in the Projects dir tree, I get the = above error. No archived files are displayed for ".metadata" in the = Files table display. However, under "src" there are the ".java" files = archived correctly. Regards Gavin Gray |
From: Albert M. <amo...@ev...> - 2005-06-22 08:30:04
|
That's it, I'am afraid. The '$' (at least, in folder names) are not = supported by default. I don't know if there's a work around for that, by configuring = something, or they cannot be used. Hopefully, Rob or any other user will = be able to help you better with it. Can't you live without those dollar = signs? Btw, won't it be easier for you to develop if the .class files are not = in SJ? Its an annoyance to keep on checking them in & out, as what is = important is the source code (you'll get the same .class if you compile = the code).And if you want to keep release versioning, it's more usual to = just keep the jar files. This is just a suggestion, although independent = of the software you use as versioning tool. Cheers, Albert. ----- Original Message -----=20 From: Gavin Gray=20 To: Albert Moliner=20 Sent: Wednesday, June 22, 2005 10:12 AM Subject: Re: [SourceJammer-users] Error INVALID_CHARACTER_ERR: An = invalid or illegal XML character is specified No Sweat. The only unusual ones are '$' , multiple '.'s (even in dir names) and = long names: examples: org.eclipse.jdt.launching.localJavaApplication.SHARED_INFO.launch in = C:\1Eclipse\GtgDiff\.metadata\.plugins\org.eclipse.debug.core\.launches org.eclipse.jdt.launching.prefs in = C:\1Eclipse\GtgDiff\.metadata\.plugins\org.eclipse.core.runtime\.settings= state.dat in = C:\1Eclipse\GtgDiff\.metadata\.plugins\org.eclipse.core.resources\.projec= ts\GtgDiff01\org.eclipse.jdt.core DirectoryCompareDialog$1.class in = C:\1Eclipse\GtgDiff\GtgDiff01\classes\diffgui (note not under .metadata, = and "works" in the client) 1077868989.index in = C:\1Eclipse\GtgDiff\.metadata\.plugins\org.eclipse.jdt.core A thought - is the problem not in the .xml files? Or does the "." in = the .metadata dir cause a problem? Another thought - one possible way to trouble shoot this could be if = you could position an archive (sourcejammer-server-2.1.0.0) on the = internet and iI could add my files this evening (+10 hours) using my = client (sourcejammer-client-2.1.2.0.beta.1)? On 6/22/05, Albert Moliner <amo...@ev...> wrote: Yes, SJ can manage binary files. Sorry, I should have specified that those characters can provoke = problems if they are in the file/folder name. Inside a file, binary = chars may generate errors only if the file has been uploaded as text, = not as binary. So, any file with some suspectful character in its name? Albert. |
From: Robert M. <rob...@ya...> - 2005-06-22 14:02:49
|
Hi, Gavin. You might want to try the 2.1.1.0 beta client. The $ problem should be fixed in that release. This client is only available through the SourceJammer SF project page right now. --Rob --- Gavin Gray <gav...@gm...> wrote: > Hi > > I am a first time user. I have quickly scanned the manuals, FAQ and mail > lists. > > The symptom of the problem I have is > Error INVALID_CHARACTER_ERR: An invalid or illegal XML character is > specified > > I have downloaded and installed (on Windows PCs running XP pro): > > - sourcejammer-client-2.1.2.0.beta.1.gpl.zip (client PC, incidently > with JDK 1.5) > - sourcejammer-server-2.1.0.0.gpl.zip (server on a server PC) > - j2sdk-1_4_2_04-windows-i586-p.exe > - jakarta-tomcat-5.0.28.exe > > I used the client to "Add File(s)" to the archive. In this case I used a > complete eclipse project for testing purposes (Note - I am not using the > eclipse sourcejammer plugin). All the files seem to be added successfully > (ie I got "# Added project: .metadata" "# Added file: .lock" (which is in > the .metadata dir), etc). Then, on the client, when I click for example on > ".metadata" in the Projects dir tree, I get the above error. No archived > files are displayed for ".metadata" in the Files table display. However, > under "src" there are the ".java" files archived correctly. > > Regards > Gavin Gray > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |