GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




HTML error in chrome

Click to view RSS...
Author Unescaped '<' not allowed in attributes values
Posted Wednesday, April 24, 2013 - Post #31704
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, July 27, 2023
Posts: 42, Visits: 5,046
It still doesn't work - http://familytrees.genopro.com/layosh1/ some pages throws errors, other pages are missing etc.:-(

EDIT:It works in Opera, IE or Firefox but in Chrome it throws this errors:

This page contains the following errors:

error on line 10 at column 34: Unescaped '<' not allowed in attributes values

But week ago it works...Strange:-/

Edited: Thursday, April 25, 2013 by GenoProSupport
Posted Thursday, April 25, 2013 - Post #31707
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.0

Last Login: Wednesday, October 7, 2020
Posts: 952, Visits: 10,075
I think the problem is not with the hosting but Google Chrome browser who report an html error... check this image to understand that meta description cannot have <br> or other html tag.

http://support.genopro.com/Uploads/Images/128293e8-fd5c-4ef2-9cf2-9b89.png

Edited: Thursday, April 25, 2013 by jcmorin
Posted Thursday, April 25, 2013 - Post #31708
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, July 27, 2023
Posts: 42, Visits: 5,046
I wrote HTML tags in genopro file description:
http://support.genopro.com/Uploads/Images/c0754ecf-5c86-4d48-96f2-4018.png


Then I generated Narrative report with Czech translation
In default.htm is this line:
<meta name="description" content="@[WriteMetaDescriptionReport]@" />
It look like funcion WriteMetaDescriptionReport donť removes possible HTML tags. 
Posted Thursday, April 25, 2013 - Post #31709
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.0

Last Login: Wednesday, October 7, 2020
Posts: 952, Visits: 10,075
Your far from alone, most of the reports are broken on Google Chrome, I'm not sure if it's the browser that got updated (because Chrome get update in silence all the time). 

I'm trying to get in contact with Ron for a solution.
Posted Thursday, April 25, 2013 - Post #31711
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,336, Visits: 25,582
I have started to take a look at this issue.  

The first issue is that heading.htm is setting the description meta tag to the Document.Description rather than Document.Title for some reason lost in history  and is not using the routine WriteMetaDescriptionReport that other pages do.  So that is easily fixed but there are other issues in the other frames that I am still looking into.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, April 25, 2013 - Post #31712
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,336, Visits: 25,582
I have discovered a couple more 'problems' but I do not know why Chrome has suddenly started more strigent validation if the same reports worked before.

There is an error when generating a report using a non English version of Windows/VBScript.  in English when a boolean value is converted to String then you get either True or False but if VBScript is localised then  the text is that languages version of True / False e.g. Pravda / Lež in Czech

So a couple of lines need to change in defauly.htm template

var frameBorders = @[Report.Write LCase(Session("FrameBorders"))]@;
var iconMenu = @[Report.Write LCase(Session("fUseIconMenu"))]@;

need to be 

var frameBorders = @[Report.Write Util.IfElse(Session("FrameBorders"), "true","false")]@;
var iconMenu = @[Report.Write Util.IfElse(Session("fUseIconMenu"), "true","false")]@;

Chrome is also flagging up 'Extra content at the end of the document' in the index frame due to the Google analytics code added by the GenoPro server.

http://support.genopro.com/Uploads/Images/3116fb5b-c1fe-45fa-8cdd-8e9d.png


I am still trying to discover the reason for an error 

  error on line 18 at column 54: xmlParseEntityRef: no name

on the home frame.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, April 25, 2013 - Post #31714
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,336, Visits: 25,582
I think the cause of

  error on line 18 at column 54: xmlParseEntityRef: no name

is caused by the embedded javascript having the '&&' operator in it and for some reason Chrome now parses the page as XML and this is invalid.  So I need to embed the scripts in CDATA tags to avoid this.

Will publish a revision shortly, but that does not help with all the previously published reports....


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, April 26, 2013 - Post #31718
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.0

Last Login: Wednesday, October 7, 2020
Posts: 952, Visits: 10,075
Ok, I've found the problem, the server didn't returned the proper "content-type" and browser like chrome were correct to report error. It should be fine by now. If you still see error it's because of browser caching. Try again the in the incognito mode (ctrl+shift+N)
Posted Friday, April 26, 2013 - Post #31719
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,336, Visits: 25,582
looks like there is still an outstanding problem in that .svg content may still have an incorrect content-type as GenoMaps do not display correctly in Chrome


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, April 26, 2013 - Post #31720
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, July 27, 2023
Posts: 42, Visits: 5,046
It works! 
Thanks a lot:-)


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse