XML parse error in query file
Status: Beta
Brought to you by:
fsaz
This works:
<DatasourceInfo><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE DatasourceInfo SYSTEM "datasourcesInfo.dtd">
<DatasourceInfo datasourceName = "Nextgen_Postgres" catalogName = "nextgen_schema"/>]]>
</DatasourceInfo>
This does not:
<DatasourceInfo>
<![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE DatasourceInfo SYSTEM "datasourcesInfo.dtd">
<DatasourceInfo datasourceName = "Nextgen_Postgres" catalogName = "nextgen_schema"/>]]>
</DatasourceInfo>
The only difference is that the "<![CDATA[ ..." statement starts on the next line.
In fact any whitespace causes a failure!
This is the "bookmark.dtd".
<!ELEMENT Bookmark (session, View*, Alias*)>
<!ELEMENT session (DatasourceInfo, (mdx|Query))>
<!ELEMENT DatasourceInfo (#PCDATA)>
<!ELEMENT mdx (#PCDATA)>
<!ELEMENT Query (#PCDATA)>
<!ELEMENT View (#PCDATA)>
<!ATTLIST View
plugin CDATA #REQUIRED>
<!ELEMENT Alias (#PCDATA)>
I do not see where this problem.
What is the problem?
Seems to work well.