×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Invalid XML

Invalid XML 15 years 4 months ago #5018

  • deus_073
  • deus_073's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi, i love this comment system. I really think it's the best one out there considering i used almost all of them.
The thing is i'm trying to validate my site and it would appear that a major part of the errors are joomlacomment related.

Here is the sheet:
validator.w3.org/check?uri=http%3A%2F%2F...3C_Validator%2F1.654

I've tryed eliminating some through the tips of some people (like putting & instead of &) but since i'm not all that experienced, this came quite hard for me to do.
Plus that in eXtplorer, i'm not able to find some lines that appear in the validator.

Some help? A guide/tutorial of some sort?

Thanks in advance.

Invalid XML 15 years 4 months ago #5020

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Short and slightly blunt answer: It's Beta and we arn't worrying about validity right now :P

Better answer: We will aim to make it 100% XHTML and CSS compliant with the final release of JoomlaComment 4.0 (it's something i'll hopefully be making sure of) :)

EDIT: A lot of those errors/warnings from the validator can be resolved using SEF, such as the great component sh404SEF (it helps me). Although it's a little advanced and takes some tweaking and reading, in my opinion it is the best extension for Joomla in existence (beating Community Builder and JoomlaComment only because I think all Joomla sites can make use of it)

Invalid XML 15 years 4 months ago #5024

  • deus_073
  • deus_073's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I see. I do know that all those error upset the GODS of the Search Engines so i really gotta fix them. I renounced sh404sef a while a go on some advice from some very experienced users so i don't think i'm gonna re-enable sh404...

Any other thoughts about how can i eliminate them? I can't really wait for the stable version and it's a shame that it's not valid :-< cause it's a great extension.

Invalid XML 15 years 4 months ago #5025

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Hmm... ok, I don't mean to be rude in saying this, but you disabled the single best-proven SEO extension for Joomla based on "expert" advice, now you're worried about SEO problems JoomlaComment is causing....?

I don't really see the logic in that :( What's wrong with sh404SEF? It's an absolute beauty of a thing - as long as you configure it correctly and are prepaired to change things with manual aliases...

Anyway, i'm going to give you a hand here and address all the XML errors I can see :)

XML Parsing Errors

Line 154: Turn off the 'Write Comment' link for a quick fix, and use the 'Read More...' default instead.

Lines 294 + 295: That is being caused by the cbLogin module which is known to be not very valid. If you don't already have the latest Community Builder installed (1.2.1) I highly suggest you do so as CB 1.2 is easily hackable (you should of gotten a security bulletin from Joomlapolis). Regardless, chase that up with them on the Joomlapolis forums or fix it yourself. Something to do with closing tag order being wrong :dry:

Line 479: There appears to be a missing paragraph close tag there or maybe two missing </p> I can't really tell what's causing that..

...all the other XML Parsing errors I think are caused by the same things, missing closing tags or being closed in the wrong order.

general entity X not defined and no default entity
Line 154: Again caused by the 'Write Comment' link. Is this 4.0 Beta 1? We can work on fixing the validity of that for the next version (4.0 RC)


Everything else... well its all related. They seem to all be caused by either "Write Comment" and/or the CB Login module. Try turning both of those functions off temporarily to narrow it down a little bit, run the validator again, and paste your results in a code box here :)

Using the process of elimination is a good tip when trying to nail validation bugs. I always run the validator whenever I add a module or extension or change any structure.

Invalid XML 15 years 4 months ago #5026

  • deus_073
  • deus_073's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
love ya!
I'm gonna finish something for my site and afterwards i'm gonna go into this.

About the experts advice, well...i will seriously reconsider.
Thank you for your time in responding here, it's really nice of you.

Invalid XML 15 years 4 months ago #5027

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Not a problem :) JoomlaComment has gotten some assault from nasty people recently (bad reviews from silly things) so i'm making some effort to help during these beta tests.


About sh404SEF, I did have some problems with it myself at first but found out how to get around them with my own experimentation :) I never tried their official forums so I don't know how good they are on support, but if you have any questions feel free to PM me or start a thread in the Off Topic section or something ;)

Invalid XML 15 years 4 months ago #5098

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, on my dev environment I have only few warnings. Also the only valid template out there is the modern one.

Invalid XML 15 years 4 months ago #5123

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Daniel Dimitrov wrote:

Well, on my dev environment I have only few warnings. Also the only valid template out there is the modern one.


Yes, it's worth noting that only the Modern template is W3C valid - the others need to be updated/fixed/redesigned.

Well all those errors have nothing to do with JoomlaComment, apart from the 'Write Comment' link. If you don't get problems with that Daniel, maybe it's the Joomla template itself causing in invalidity.
  • Page:
  • 1
Time to create page: 0.116 seconds