The Source tab contains XML parsing errors
book
Article ID: KB0076902
calendar_today
Updated On:
Description
I've created a LiveView Table configuration (.lvconf) and I get errors.
The definition is:
<?xml version="1.0" encoding="UTF-8"?> <liveview-configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.streambase.com/schemas/lvconf/"> <application filename="com.sbsupport.lvtest.Generator" id="Generator-app"/> </liveview-configuration>
The errors look like this:
and this:
Issue/Introduction
Remove special characters from LiveView configuration names.
Resolution
The problem in this case is that the filename and 'id' have a hyphen (-) in the name. This is not allowed because the name will be used in the code-generator in expressions which use special characters as operators. The underscore (_) is allowed.
To fix this, rename the file to have no special characters in its name. This will also update the 'id' value.
When using the " New LiveView Data Table" dialog, or the menu " New > TIBCO LiveView Configuration File" and illegal characters are included in the name of the table, the dialog will prevent continuing and will report the assistance:
" Table names must begin with a character, and cannot contain spaces or special characters."
Feedback
thumb_up
Yes
thumb_down
No