Content is not allowed in Prolog: is a bug? [message #510768] |
Thu, 28 January 2010 15:14 |
|
setting property modelFile to " file://D:\trim\runtime-EclipseApplication\Examples\src\a.fvc s"
and executing this piece of a MWE script:
<component class="org.eclipse.xtext.MweReader" uri="${modelFile}" >
<skipOnErrors value="true" />
<register class="it.tomassetti.fvcgen.FvcStackSimplDslStandaloneSetup "/>
<outputSlot value="fvcsModel" />
</component>
I get this error:
[ERROR] WorkflowRunner - org.xml.sax.SAXParseException: Content is not allowed in prolog. < org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: org.xml.sax.SAXParseException: Content is not allowed in prolog.> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397)
correting the name to " file://D:/trim/runtime-EclipseApplication/Examples/src/a.fvc s"
the error disappears...
Is a bug in your opinion? Should a file a bug entry?
Federico
website: http://www.federico-tomassetti.it
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03300 seconds