ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jowie <joe.n...@mac.com>
Subject Re: RegExp help needed!
Date Mon, 07 Dec 2009 13:59:21 GMT

Okay,

So I've sorted it, but it was a weird one!

One of the questions was badly formatted, and looked like this:

  <Question ID="531" Subject="L" Category="Punc" Presentation="PT01"
Engine="MC01" Body="test" Instruction="Select the correct answer" Level="1">
    <TipID/>
    <Answers>
      <Answer ID="1457" Valid="false" Position="1"
Media="/bgmain/Image.ashx?ID=112">[Media}</Answer>
      <Answer ID="1458" Valid="true" Position="2"
Media="/bgmain/Image.ashx?ID=113">[Media}</Answer>
      <Answer ID="1459" Valid="false" Position="3"
Media="/bgmain/Image.ashx?ID=114">[Media}</Answer>
      <Answer ID="1460" Valid="false" Position="4"
Media="/bgmain/Image.ashx?ID=115">[Media}</Answer>
    </Answers>
  </Question>

Notice the "[Media}"... Now the weird thing is that this caused an error on
a large file, but not on a smaller one. I can correct the problem from my
end, but I thought you might like to know! Is a "}" symbol not allowed in
UTF-encoded XML files? It seems to work fine in a browser and like I said,
also works fine in smaller files...

weird!
-- 
View this message in context: 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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message