RE: RegExp help needed!

2009-12-07 Thread Jowie
Hi again Gilbert, That updated Xpath worked a treat... Thank you very much for your patience and help! :-) Hopefully that will be it now... ;-) Cheers again! :-Joe -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679471.html Sent from the Ant - Users

RE: RegExp help needed!

2009-12-07 Thread Jowie
I think the problem that I have is that the @Media property isn't always set. In which case it fails when it tries to look at a node with no Media property. Can anyone think of a workaround? :-/ Thanks! -- View this message in context: http://old.nabble.com/RegExp-help-need

RE: RegExp help needed!

2009-12-07 Thread Rebhan, Gilbert
-Original Message- From: Jowie [mailto:joe.n...@mac.com] Sent: Monday, December 07, 2009 4:06 PM To: user@ant.apache.org Subject: RE: RegExp help needed! /* Hi Gilbert, What I am trying to say is... I have done exactly how you say, despite what my last message says (some weird URL

RE: RegExp help needed!

2009-12-07 Thread Jowie
[echo] img = /brain_games_main/Image.ashx?ID=647 [echo] img = /brain_games_main/Image.ashx?ID=647 etc Sorry everyone for the repeat postings! I'm really starting to scratch my head sore on this one! :-/ -- View this message in context: http://old.nabble.com/RegExp-help-need

RE: RegExp help needed!

2009-12-07 Thread Jowie
ratch my head sore on this one! :-/ -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679046.html Sent from the Ant - Users mailing list archive at Nabble.com.

RE: RegExp help needed!

2009-12-07 Thread Jowie
/Image.ashx?ID=647 [echo] img = /brain_games_main/Image.ashx?ID=647 [echo] img = /brain_games_main/Image.ashx?ID=647 rather than different IDs each time... Sorry for the confusion! -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678500.html Sent from

RE: RegExp help needed!

2009-12-07 Thread Jowie
; [echo] img = /brain_games_main/Image.ashx?ID=647 > > etc... Rather than different attribute each time > -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678458.html Sent from the Ant - Users mailing list archive at Nabble.com.

RE: RegExp help needed!

2009-12-07 Thread Jowie
/Image.ashx?ID=647 etc... Rather than different attribute each time -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678408.html Sent from the Ant - Users mailing list archive at Nabble.com

RE: RegExp help needed!

2009-12-07 Thread Jowie
/Image.ashx?ID=647 etc... Rather than different attribute each time -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678362.html Sent from the Ant - Users mailing list archive at Nabble.com

RE: RegExp help needed!

2009-12-07 Thread Rebhan, Gilbert
-Original Message- From: Jowie [mailto:joe.n...@mac.com] Sent: Monday, December 07, 2009 3:28 PM To: user@ant.apache.org Subject: RE: RegExp help needed! /* [...] Games\Main\ant\update_offline.xml:77: required attribute img not set But... If I do

RE: RegExp help needed!

2009-12-07 Thread Jowie
gt; -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678002.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

RE: RegExp help needed!

2009-12-07 Thread Rebhan, Gilbert
P.S. : will hit all Media=... attributes und /Question/Answers, if you need all Media Attributes you need to use = Regards, Gilbert - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands,

RE: RegExp help needed!

2009-12-07 Thread Rebhan, Gilbert
-Original Message- From: Jowie [mailto:joe.n...@mac.com] Sent: Monday, December 07, 2009 1:40 PM To: user@ant.apache.org Subject: RE: RegExp help needed! /* txt txt txt txt - So from this, I need to: 1. Find any Media attribute, nested

RE: RegExp help needed!

2009-12-07 Thread Jowie
message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p2663.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional

Re: RegExp help needed!

2009-12-07 Thread Jowie
t: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677635.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: RegExp help needed!

2009-12-07 Thread Antoine Levy Lambert
Hi, uhhm, in this case maybe the error you are encountering is a disguised Out of Memory, or a bug with the XML parser. you might want to try with different JDKs. I do not know whether the xercesImpl.jar which ships with ant is actually used to parse XML files in custom tasks or whether it w

Re: RegExp help needed!

2009-12-07 Thread Jowie
Hi there, Just so you know, I created a file which was bigger than my original file as a test, and that worked fine... So I'm a bit confused as to how this XML file will not work when it is supposedly well formatted... ?? -- View this message in context: http://old.nabble.com/RegExp

Re: RegExp help needed!

2009-12-07 Thread Jowie
development environment ? Regards, Antopine -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677322.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe

Re: RegExp help needed!

2009-12-07 Thread Antoine Levy Lambert
Hello, the error below would not be an ant of xmltask error. The message Invalid byte 3 of 3-byte UTF-8 sequence means that your XML file is not matching the UTF-8 convention. Does your XML file specify UTF-8 in the XML declaration ? Can you read your XML file using another tool than ant, fo

Re: RegExp help needed!

2009-12-07 Thread Jowie
thinks of the file, and it doesn't throw any encoding errors. :( -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677279.html Sent from the Ant - Users mailing list archive at Nabble.com.

RE: RegExp help needed!

2009-12-07 Thread Joe Nash
> That looks to me like your XML is not properly encoded. I > suspect that if you use a command-line tool like xmlstarlet > it'll confoirm that by giving you a very similar error. The > below isn't size-related. Thanks for the info. If you are right, this could still be a problem because the X

Re: RegExp help needed!

2009-12-07 Thread Brian Agnew
That looks to me like your XML is not properly encoded. I suspect that if you use a command-line tool like xmlstarlet it'll confoirm that by giving you a very similar error. The below isn't size-related. On 07/12/2009 13:15, Jowie wrote: Doh... Looks like I have a problem using xmltask anyway

RE: RegExp help needed!

2009-12-07 Thread Jowie
xmltask] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) BUILD FAILED C:\Work\LSIS\Brain Games\Main\ant\update_offline.xml:77: Invalid byte 3 of 3-byte UTF-8 sequence. Bad times :( -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677094.htm

RE: RegExp help needed!

2009-12-07 Thread Jowie
;... > > > > > > > > Regards, Gilbert > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > > --

RE: RegExp help needed!

2009-12-07 Thread Rebhan, Gilbert
-Original Message- From: Jowie [mailto:joe.n...@mac.com] Sent: Monday, December 07, 2009 1:02 PM To: user@ant.apache.org Subject: RegExp help needed! /* so you would go like that = ... /* hit the send button to soon, should be = so you would go like that

RE: RegExp help needed!

2009-12-07 Thread Rebhan, Gilbert
-Original Message- From: Jowie [mailto:joe.n...@mac.com] Sent: Monday, December 07, 2009 1:02 PM To: user@ant.apache.org Subject: RegExp help needed! /* Hi all, I'm fumbling my way around Ant and finding the help on the web really confusing. I am using Ant simply as a macro

RegExp help needed!

2009-12-07 Thread Jowie
find all individual instances of that regexp? Please help... Thanks! :-Joe -- View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26676257.html Sent from the Ant - Users mailing list archive at Nabble.com.