Invalid markup validation

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/1/2009 6:27:54 PM
Gravatar
Total Posts 38

Invalid markup validation

Hi,

I'm getting some errors while checking my portal on http://validator.w3.org. Every error is related to lines containing the string

src="/WebResource.axd?..."

or

src="/ScriptResource.axd?..."

This is because these lines contain "&t=" instead of "&t=". Here is an example of my wrong string:

<script src="/WebResource.axd?d=096dcf5696b909906c5cd08f73be2327&t=633661659770000000" type="text/javascript"></script>

I can see from html source of www.mojoportal.com that these lines should be something like

<script src="/WebResource.axd?d=wuHCulEJ7ItpvTZ6fgLBkA2&amp;t=633626129286718750" type="text/javascript"></script>

I am using mojoportal-2-2-8-1-pgsqlreleasefiles-for-mono.

What portion of code is writing "&t=" instead of "&amp;t="? Is this related to Mono?

Thanks,

LB

1/2/2009 6:02:00 AM
Gravatar
Total Posts 18439

Re: Invalid markup validation

Yes, I would say that any time you see a difference running on Mono vs Windows, its a Mono bug.

It would be good to report this to the Mono project bugzilla.

Best,

Joe

1/2/2009 12:02:02 PM
Gravatar
Total Posts 38

Re: Invalid markup validation

Thanks Joe,

could you tell me how these lines are generated? So I can understand how they work and better explain the bug. I found /App_Data/ScriptFileSets.xml but I don't know how these lines are formatted and rendered to page.

Thanks,

LB

1/2/2009 12:08:26 PM
Gravatar
Total Posts 18439

Re: Invalid markup validation

Its not in mojoPortal code its in the runtime, probably ScriptManager.

I'm updating my machine to the latest Mono svn right now, once its complete I will verify if its still a bug in the latest svn, if so I'll email Marek at Novell and bring this to his attention to get it fixed. Its probably an easy fix. If I had more time I'd probably poke around in the Mono source in ScriptManager and related classes and look for where to fix it, but I'm sure they will be able to fix it. Though it may take a while before this is fixed in a release version of Mono.

Best,

Joe

1/2/2009 1:40:57 PM
Gravatar
Total Posts 18439

Re: Invalid markup validation

I've confirmed the bug still exists using the very latest Mono built from svn r122336. I've emailed my friend Marek at Novell about it, so I'm sure it will get fixed eventually.

Best,

Joe

1/3/2009 9:14:19 AM
Gravatar
Total Posts 38

Re: Invalid markup validation

Uh, great

You must sign in to post in the forums. This thread is closed to new posts.