Windows 7 64-bit Professional.
If a user adds a comment for a column, upon reopening the file pgmodeler cannot parse the file with error:
[6] src\formprincipal.cpp (1115)
void FormPrincipal::carregarModelo()
[ERR_PARSERS_ARQMODELOINV] Could not load file C:/Users/Austin/Google Drive/testDB.dbm. The same appears to be inconsistent or one of its dependencies (DTD files) has errors or is missing!
[5] src\formprincipal.cpp (608)
void FormPrincipal::adicionarNovoModelo(const QString&)
[ERR_PARSERS_ARQMODELOINV] Could not load file C:/Users/Austin/Google Drive/testDB.dbm. The same appears to be inconsistent or one of its dependencies (DTD files) has errors or is missing!
[4] src\modelobd.cpp (2851)
void ModeloBD::carregarModelo(const QString&)
[ERR_PARSERS_ARQMODELOINV] Could not load file C:/Users/Austin/Google Drive/testDB.dbm. The same appears to be inconsistent or one of its dependencies (DTD files) has errors or is missing!
[3] src\parserxml.cpp (111)
static void ParserXML::carregarBufferXML(const QString&)
[ERR_PARSERS_LIBXMLERR] Error while interpreting XML buffer at line 0 column 0.
Message generated by the parser: 'Element column content does not follow the DTD, expecting (type)?, got (type comment) '.
[2] src\parserxml.cpp (176)
static void ParserXML::interpretarBuffer()
[ERR_PARSERS_LIBXMLERR] Error while interpreting XML buffer at line 0 column 0.
Message generated by the parser: 'Element column content does not follow the DTD, expecting (type)?, got (type comment) '.
[1] src\parserxml.cpp (80)
static void ParserXML::carregarArquivoXML(const QString&)
[ERR_PARSERS_LIBXMLERR] Error while interpreting XML buffer at line 0 column 0.
Message generated by the parser: 'Element column content does not follow the DTD, expecting (type)?, got (type comment) '.
[0] src\modelowidget.cpp (846)
void ModeloWidget::carregarModelo(const QString&)
[ERR_PARSERS_ARQMODELOINV] Could not load file C:/Users/Austin/Google Drive/testDB.dbm. The same appears to be inconsistent or one of its dependencies (DTD files) has errors or is missing!
It appears that in the column DTD there is no element for for comment, only an element for type:
https://github.com/pgmodeler/pgmodeler/blob/master/schemas/xml/dtd/column.dtd
Thus when a user reopens the file it is unable to be parsed and the user must remove the comments by hand.