import error: org.xml.sax.SAXParseException

Bug #661587 reported by PeanutBlake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ADempiere ERP Localization
Fix Committed
Medium
PeanutBlake

Bug Description

Milestone: ADempiere ERP Localization translation-20101015
Language: zh_CN

===========> Translation.importTrl: importTrl [11]
org.xml.sax.SAXParseException: The element type "TableName" must be terminated by the matching end-tag "</TableName>".
 at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
 at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:331)
 at org.compiere.install.Translation.importTrl(Translation.java:128)
 at org.compiere.install.VTranslationDialog.actionPerformed(VTranslationDialog.java:230)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

Revision history for this message
PeanutBlake (peanutblake) wrote :

it is due to wrong translation in AD_Element:
original: &lt;TableName&gt;
wrong translation: <TableName>

<adempiereTrl language="zh_CN" table="AD_Element">
  <row id="620" trl="Y">
    <value column="Name" original="Search Key">搜索键</value>
    <value column="PrintName" original="Search Key">搜索键</value>
    <value column="Description" original="Search key for the record in the format required - must be unique">记录的检索关键字在格式上是必须的 -并且必须唯一</value>
    <value column="Help" original="A search key allows you a fast method of finding a particular record.
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the &quot;Maintain Sequence&quot; window with the name &quot;DocumentNo_&lt;TableName&gt;&quot;, where TableName is the actual name of the table (e.g. C_Order).">搜索关键字让您快速的方法找到一个特定的记录。
  如果你把搜索关键空时,系统会自动创建一个数字号码。这个文档顺序用来定义的数量己”与“维护窗口的名字“DocumentNo_<TableName>”,在那里TableName实际的名称(例如表。C_Order)。</value>
    <value column="PO_Description" original="" [[/>]]

Now changed to :
搜索关键字让您快速找到某个特定记录。
如果你把搜索关键字留空时,系统会自动创建一个数字号码。用于回退数字(fallback number)的文档序列在&quot;序列维护&quot;窗口中以名称&quot;文档编号_&lt;表格名称&gt;&quot;(&quot;DocumentNo_&lt;TableName&gt;&quot;)来定义,在这里表格名称(TableName)是表格的真实名称(例如C_Order)

Changed in aderp:
status: New → In Progress
assignee: nobody → PeanutBlake (peanutblake)
Changed in aderp:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.