Print Page | Close Window

Tracking XAML source Errors

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19626
Printed Date: 24 April 2024 at 7:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tracking XAML source Errors
Posted By: davbrat
Subject: Tracking XAML source Errors
Date Posted: 31 March 2012 at 3:14pm
Does anyone know where/how to get the error code and offending line of XAML source?

Thanks in advance,

Dave Bratovich


-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10



Replies:
Posted By: Oleg
Date Posted: 03 April 2012 at 3:09pm
Try placing the source in the Markup Pad to catch it.


Posted By: davbrat
Date Posted: 04 April 2012 at 4:50pm
I have my own XAML trainer app using the CommandBar/SyntaxEdit/Docking Pane/PropertyGrid/SkinFrameWork/Label (enablemarkup = true) controls.
 
I need to emulate the error trapping found in the MarkupPad.
How does Markup Pad do it?
 
Thanks,
 
Dave


-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10


Posted By: Oleg
Date Posted: 05 April 2012 at 10:23am
It is internal classes in parser and builder.  Not available in COM.


Posted By: Oleg
Date Posted: 05 April 2012 at 1:21pm
For next release added ValidateXML method which returns same error you see in MFC Markup Pad.  VB6 Markup Pad sample updated to show use.


Posted By: davbrat
Date Posted: 03 June 2013 at 12:29pm
Are there any limits to the size of a string passed to the ValidateXML() method?

Complex or large markup strings result in the method returning a "Get Property failed" message and it does not matter if the markup source is valid or not.

I have not found a threshold as to a max length before the "Get Property failed" starts coming back.

Dave



-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net