Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: Content is not allowed in Prolog: is a bug?
Re: Content is not allowed in Prolog: is a bug? [message #622061] Thu, 28 January 2010 15:20
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Yes, looks like a bug.
Please file it against EMFT/MWE.

Thanks,
Sven

Federico Tomassetti schrieb:
> 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


--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:Re: Content is not allowed in Prolog: is a bug?
Next Topic:An appeal for modeling community review to new "EMF Build Manager Project" Proposal
Goto Forum:
  


Current Time: Fri Jul 30 08:44:04 GMT 2021

Powered by FUDForum. Page generated in 0.02030 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top