Pages

30 June 2011

TROUBLESHOOTING: Compilation error - XML-20108: (Fatal Error) Start of root element expected. in rdf files.

If during compilation you get

Project: E:\JDeveloper\mywork\DEVELOPMENT\App\App\Model.jpr
    E:\JDeveloper\mywork\DEVELOPMENT\App\src\model\lovqueries\mdssys
           \mdx\MyLov.xml.rdf
        Error(1,1): file:/E:\JDeveloper\mywork\DEVELOPMENT\App\src\model
           \lovqueries\mdssys\mdx\MyLov.xml.rdf<Line 1, Column 1>: 
           XML-20108: (Fatal Error) Start of root element expected.


Then JDeveloper just created an empty rdf file.


Solution
Open rdf
add
<?xml version="1.0" encoding="UTF-8" ?>
<test>
</test>
Save


You might want to check: Utility to remove once and for all the *.rdf file error.



Src: http://forums.oracle.com/forums/thread.jspa?threadID=1134014&tstart=44

2 comments: