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:15:26 GMT

Doh... Looks like I have a problem using xmltask anyway unfortunately... The
GetAllQuestions.xml is too big for it to handle :-( it's nearly 1MB in size.
At least I'm pretty sure that's why, since if I run another piece of XML
which is a lot smaller it works fine. But in this case I get the error:


  [xmltask]
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
Invalid byte 3 of 3-byte UTF-8 sequence.
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
  [xmltask] 	at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
  [xmltask] 	at
com.oopsconsultancy.xmltask.ant.XmlTask.documentFromStream(XmlTask.java:343)
  [xmltask] 	at
com.oopsconsultancy.xmltask.ant.XmlTask.documentFromFile(XmlTask.java:387)
  [xmltask] 	at
com.oopsconsultancy.xmltask.ant.XmlTask.access$000(XmlTask.java:27)
  [xmltask] 	at
com.oopsconsultancy.xmltask.ant.XmlTask$InputFile.getDocument(XmlTask.java:203)
  [xmltask] 	at
com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:638)
  [xmltask] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  [xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  [xmltask] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
  [xmltask] 	at java.lang.reflect.Method.invoke(Unknown Source)
  [xmltask] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [xmltask] 	at org.apache.tools.ant.Task.perform(Task.java:348)
  [xmltask] 	at org.apache.tools.ant.Target.execute(Target.java:357)
  [xmltask] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
  [xmltask] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
  [xmltask] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
  [xmltask] 	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [xmltask] 	at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
  [xmltask] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
  [xmltask] 	at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
  [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.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