Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> How to fix 'XML Parsing Error' when creating help.xhtml, In case this saves anyone else some time
daveschaefer
post Apr 7 2012, 18:51
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 31-March 12
Member No.: 18.337


Extension Developer: Yes
Extensions: Perspectives - http://perspectives-project.org
Translator for English (en-US)
My OS Gnu/Linux



Hello,

Recently I began extracting the strings for my help.html page and moving them to help.dtd and help.xhtml, as specified in Goofy's excellent guide here (thanks Goofy!).

While creating my .xhtml page I kept getting this error when trying to load the page "XML Parsing Error", which was unhelpfully pointing to the "%helpDTD;" part of the document.

After spending some time troubleshooting I finally figured out that this error was caused by one of my .dtd entities not having a closing >. So, I just wanted to post here to mention the error in case anyone else runs into it.


I have added a Troubleshooting section to the wiki guide at http://wiki.babelzilla.org/index.php?title...of_an_extension , with some things to watch out for. Hopefully that helps people so they don't run into the same trouble as me!


Happy localizing!
Go to the top of the page
 
+Quote Post
Goofy
post Apr 8 2012, 15:29
Post #2


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.398
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



QUOTE (daveschaefer @ Apr 7 2012, 19:51) *
Hello,

Recently I began extracting the strings for my help.html page and moving them to help.dtd and help.xhtml, as specified in Goofy's excellent guide here (thanks Goofy!).

While creating my .xhtml page I kept getting this error when trying to load the page "XML Parsing Error", which was unhelpfully pointing to the "%helpDTD;" part of the document.

After spending some time troubleshooting I finally figured out that this error was caused by one of my .dtd entities not having a closing >. So, I just wanted to post here to mention the error in case anyone else runs into it.


I have added a Troubleshooting section to the wiki guide at http://wiki.babelzilla.org/index.php?title...of_an_extension , with some things to watch out for. Hopefully that helps people so they don't run into the same trouble as me!

Happy localizing!


Sure it can help, thanks so much smile.gif Note that missing one end-delimiter tag throws a parsing error even in the more usual case (when a .dtd is created from its corresponding .xul file).



--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
daveschaefer
post Apr 10 2012, 07:40
Post #3


Newbie
*

Group: Members
Posts: 5
Joined: 31-March 12
Member No.: 18.337


Extension Developer: Yes
Extensions: Perspectives - http://perspectives-project.org
Translator for English (en-US)
My OS Gnu/Linux



Hey I have a question about the wikis - it appears there is both http://wiki.babelzilla.org and http://babelwiki.babelzilla.org . What's the difference? The edits I made show up on one of those sites but not the other :-/ Are they not mirrors of each other?

I can post this question in a separate thread if that's more appropriate.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st April 2014 - 00:28
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft