RSS/Atom feed Twitter
Site is read-only, email is disabled

verifying xml files

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

verifying xml files Kolbjørn Stuestøl 13 Dec 22:07
  verifying xml files Liam R E Quin 14 Dec 00:12
   verifying xml files Kolbjørn Stuestøl 14 Dec 11:46
  verifying xml files Julien Hardelin 14 Dec 07:11
   verifying xml files Kolbjørn Stuestøl 14 Dec 12:01
Kolbjørn Stuestøl
2012-12-13 22:07:46 UTC (over 12 years ago)

verifying xml files

Is there a simple way to verify xml files in gimp-help-2?

When running "make" commands like "make pot" I get the error message "Makefile:1259: target `xml/en/toolbox/transform/common-features' doesn't match the target pattern"

It is my file "src/toolbox/transform/common-features" that is the reason for the error.

Obviously I have a wrong code or something in my xml file. But finding the error(s) can be a tedious job.
(I am trying to incorporate Sven's explanation on how to transform paths.) I am using Notepad++
Kolbjoern

Liam R E Quin
2012-12-14 00:12:28 UTC (over 12 years ago)

verifying xml files

On Thu, 2012-12-13 at 23:07 +0100, Kolbjrn Stuestl wrote:

Obviously I have a wrong code or something in my xml file. But finding the error(s) can be a tedious job.

One way is to use
xmllint --noout some-xml-file
on the command-line.

Another is to use an XML-aware editor; XPontus is Free, although I haven't tried it recently.

Liam

Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Co-author, 5th edition of "Beginning XML", Wrox, 2012
Julien Hardelin
2012-12-14 07:11:06 UTC (over 12 years ago)

verifying xml files

Le 13/12/2012 23:07, Kolbjrn Stuestl a crit :

Is there a simple way to verify xml files in gimp-help-2?

When running "make" commands like "make pot" I get the error message "Makefile:1259: target `xml/en/toolbox/transform/common-features' doesn't match the target pattern"

It is my file "src/toolbox/transform/common-features" that is the reason for the error.

Obviously I have a wrong code or something in my xml file. But finding the error(s) can be a tedious job.
(I am trying to incorporate Sven's explanation on how to transform paths.)
I am using Notepad++
Kolbjoern
_______________________________________________ gimp-docs-list mailing list
gimp-docs-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-docs-list

Hi,
Did you pull recently? There was a parser error in common-features.xml that I corrected recently: an unwanted that I deleted.
It was in lines 330-340, or something like that, around the "If this marked, which is the default..." Julien

Kolbjørn Stuestøl
2012-12-14 11:46:37 UTC (over 12 years ago)

verifying xml files

Den 14.12.2012 01:12, skreiv Liam R E Quin:

On Thu, 2012-12-13 at 23:07 +0100, Kolbjrn Stuestl wrote:

Obviously I have a wrong code or something in my xml file. But finding the error(s) can be a tedious job.

One way is to use
xmllint --noout some-xml-file
on the command-line.

Thank you. It works.
Kolbjoern

Another is to use an XML-aware editor; XPontus is Free, although I haven't tried it recently.

Liam

Kolbjørn Stuestøl
2012-12-14 12:01:23 UTC (over 12 years ago)

verifying xml files

Den 14.12.2012 08:11, skreiv Julien Hardelin:

Le 13/12/2012 23:07, Kolbjrn Stuestl a crit :

Is there a simple way to verify xml files in gimp-help-2?

When running "make" commands like "make pot" I get the error message "Makefile:1259: target `xml/en/toolbox/transform/common-features' doesn't match the target pattern"

It is my file "src/toolbox/transform/common-features" that is the reason for the error.

Obviously I have a wrong code or something in my xml file. But finding the error(s) can be a tedious job. (I am trying to incorporate Sven's explanation on how to transform paths.)
I am using Notepad++
Kolbjoern
_______________________________________________ gimp-docs-list mailing list
gimp-docs-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-docs-list

Hi,
Did you pull recently? There was a parser error in common-features.xml that I corrected recently: an unwanted that I deleted.
It was in lines 330-340, or something like that, around the "If this marked, which is the default..." Julien

Thank you.
No, I did not pull until now, but found the error by hand. Normally the programs sorts out such errors, but for some reason or other not always. Perhaps I have to invest in a code writer program or something. :-)

Also tried Liam's idea, and it works. Next step is to figure out how to get the command to tell me what is wrong, not only correcting it.

Kolbjoern