Bug 183769 - Glossary XML validation errors
Summary: Glossary XML validation errors
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 12:16 UTC by mvillarino
Modified: 2012-02-23 19:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mvillarino 2009-02-09 12:16:02 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I have updated my Debian to kde 4.2 with packages from debian-desktop, to use Lokalize.
Ok, I have created the project and also a glossary file, that has been commited, and you can get online at this URL:
http://websvn.kde.org/trunk/l10n-kde4/gl/terms.tbx

This file generated by Lokalize fails to pass the tbxcheck validations (http://sourceforge.net/project/platformdownload.php?group_id=228851), with the following log:

XML Validation Major Errors
 Parse Exception:
 Line: 9
 Column: 20
 Message: The content of element type "fileDesc" is incomplete, it must match "(titleStmt?,publicationStmt?,sourceDesc+)".
 Embeded: 
XML Validation Major Errors
 Parse Exception:
 Line: 35
 Column: 49
 Message: The content of element type "termEntry" is incomplete, it must match "((descrip|descripGrp|admin|adminGrp|transacGrp|note|ref|xref)*,langSet+)".
 Embeded: 
XML Validation Major Errors
 Parse Exception:
 Line: 37
 Column: 37
 Message: Attribute value "marce-1" of type ID must be unique within the document.
 Embeded: 
XCS Adherence Errors
    UNKNOWN EXCEPTION: java.io.FileNotFoundException: Entity could not be resolved:
  PUBLIC: 'SYSTEM "TBXDCSv05b.xml"'
  SYSTEM: '/home/mouro/Documentos/Gnome%20Commander/SYSTEM "TBXDCSv05b.xml"'
  BUILT IN: NONE

****************************************
Log messages.

# 0  SEVERE---[org.ttt.salt.dom.tbx.TBXParser#error] TBXParser SAX Error
    Exception: The content of element type "fileDesc" is incomplete, it must match "(titleStmt?,publicationStmt?,sourceDesc+)".
# 1  SEVERE---[org.ttt.salt.dom.tbx.TBXParser#error] TBXParser SAX Error
    Exception: The content of element type "termEntry" is incomplete, it must match "((descrip|descripGrp|admin|adminGrp|transacGrp|note|ref|xref)*,langSet+)".
# 2  SEVERE---[org.ttt.salt.dom.tbx.TBXParser#error] TBXParser SAX Error
    Exception: Attribute value "marce-1" of type ID must be unique within the document.


The file created by Lokalize can not be opened by other tools, namely Virtaal. However, if hand-edited to pass the checks, it is correctly opened.
Comment 1 Nick Shaforostoff 2009-05-08 01:34:28 UTC
i fixed all errors except for

XCS Adherence Errors
    UNKNOWN EXCEPTION: java.io.FileNotFoundException: Entity could not be
resolved:
  PUBLIC: 'SYSTEM "TBXDCSv05b.xml"'
  SYSTEM: '/home/mouro/Documentos/Gnome%20Commander/SYSTEM "TBXDCSv05b.xml"'
  BUILT IN: NONE
Comment 2 Nick Shaforostoff 2012-02-23 19:03:47 UTC
please reopen the bug if any issues arise with latest version of Lokalize