![]() |
Tracking XAML source Errors |
Post Reply ![]() |
Author | |
davbrat ![]() Groupie ![]() ![]() Joined: 30 September 2009 Location: California Status: Offline Points: 59 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Try placing the source in the Markup Pad to catch it.
|
|
![]() |
|
davbrat ![]() Groupie ![]() ![]() Joined: 30 September 2009 Location: California Status: Offline Points: 59 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
It is internal classes in parser and builder. Not available in COM.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
For next release added ValidateXML method which returns same error you see in MFC Markup Pad. VB6 Markup Pad sample updated to show use.
|
|
![]() |
|
davbrat ![]() Groupie ![]() ![]() Joined: 30 September 2009 Location: California Status: Offline Points: 59 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |