Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > WinFX General

Vista - Trying to use WPF, I get many schema errors

 
 
Old 11-07-2006   #1 (permalink)
Juan Dent


 
 

Trying to use WPF, I get many schema errors

Hi,

Using the latest RC1 WPF, I get schema errors like below. Where can I find
the definition of these schemas? (e.g.
http://schemas.microsoft.com/winfx/2.../presentation).
I don't care if they are temporary and subject to change...anything is
better than driving blind...

Thanks!


------------------------------------------
Warning 1 The element 'Viewport3D' in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child
element 'Viewport3D.Children' in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of possible
elements expected: 'Viewport3D.Camera, Viewport3D.Style,
Viewport3D.OverridesDefaultStyle, Viewport3D.Triggers, Viewport3D.Resources,
Viewport3D.DataContext, Viewport3D.Language, Viewport3D.Tag,
Viewport3D.InputScope, Viewport3D.LayoutTransform, Viewport3D.Width,
Viewport3D.MinWidth, Viewport3D.MaxWidth, Viewport3D.Height,
Viewport3D.MinHeight, Viewport3D.MaxHeight, Viewport3D.Margin,
Viewport3D.FocusVisualStyle, Viewport3D.Cursor, Viewport3D.ForceCursor,
Viewport3D.ToolTip, Viewport3D.ContextMenu, Viewport3D.InputBindings,
Viewport3D.CommandBindings, Viewport3D.AllowDrop, Viewport3D.RenderSize,
Viewport3D.RenderTransform, Viewport3D.RenderTransformOrigin,
Viewport3D.Opacity, Viewport3D.OpacityMask, Viewport3D.BitmapEffect,
Viewport3D.BitmapEffectInput, Viewport3D.ClipToBounds, Viewport3D.Clip,
Viewport3D.SnapsToDevicePixels, Viewport3D.IsEnabled,
Viewport3D.I****TestVisible, Viewport3D.Focusable, sgVisual3D, ModelVisual3D'
in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. C:\Documents and
Settings\Juan Dent\My Documents\MSDN\Windows Presentation Foundation
Hands-On-Labs\LNGW702 - Creating Rich 2D and 3D Content in
WPF\Source\Ex3\Final\RichContent\Window1.xaml 21 6 RichContent
------------------

--
Thanks in advance,

Juan Dent, M.Sc.

My System SpecsSystem Spec
Old 11-19-2006   #2 (permalink)
J


 
 

Re: Trying to use WPF, I get many schema errors

Hello,
these are warnings, if the project builds and runs, there is no
problem, maybe the IDE you're using isn't up to date. The schema file
can be found here:
<VS2005 Install Dir>\Xml\Schemas\Xaml2005.xsd if you have Orcas
installed.
I think the IDE is Visual Studio, because this is kind of a known
issue.
Take a peek in Rob Relyea's blog:
http://www.windows-now.com/blogs/rre.../07/14167.aspx

All the best,
Andrei Iacob

Juan Dent wrote:
> Hi,
>
> Using the latest RC1 WPF, I get schema errors like below. Where can I find
> the definition of these schemas? (e.g.
> http://schemas.microsoft.com/winfx/2.../presentation).
> I don't care if they are temporary and subject to change...anything is
> better than driving blind...
>
> Thanks!
>
>
> ------------------------------------------
> Warning 1 The element 'Viewport3D' in namespace
> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child
> element 'Viewport3D.Children' in namespace
> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of possible
> elements expected: 'Viewport3D.Camera, Viewport3D.Style,
> Viewport3D.OverridesDefaultStyle, Viewport3D.Triggers, Viewport3D.Resources,
> Viewport3D.DataContext, Viewport3D.Language, Viewport3D.Tag,
> Viewport3D.InputScope, Viewport3D.LayoutTransform, Viewport3D.Width,
> Viewport3D.MinWidth, Viewport3D.MaxWidth, Viewport3D.Height,
> Viewport3D.MinHeight, Viewport3D.MaxHeight, Viewport3D.Margin,
> Viewport3D.FocusVisualStyle, Viewport3D.Cursor, Viewport3D.ForceCursor,
> Viewport3D.ToolTip, Viewport3D.ContextMenu, Viewport3D.InputBindings,
> Viewport3D.CommandBindings, Viewport3D.AllowDrop, Viewport3D.RenderSize,
> Viewport3D.RenderTransform, Viewport3D.RenderTransformOrigin,
> Viewport3D.Opacity, Viewport3D.OpacityMask, Viewport3D.BitmapEffect,
> Viewport3D.BitmapEffectInput, Viewport3D.ClipToBounds, Viewport3D.Clip,
> Viewport3D.SnapsToDevicePixels, Viewport3D.IsEnabled,
> Viewport3D.I****TestVisible, Viewport3D.Focusable, sgVisual3D, ModelVisual3D'
> in namespace
> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. C:\Documents and
> Settings\Juan Dent\My Documents\MSDN\Windows Presentation Foundation
> Hands-On-Labs\LNGW702 - Creating Rich 2D and 3D Content in
> WPF\Source\Ex3\Final\RichContent\Window1.xaml 21 6 RichContent
> ------------------
>
> --
> Thanks in advance,
>
> Juan Dent, M.Sc.


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
XML with schema .NET General
Need to program it anyone know schema Live Mail
Help With Program Created XML Schema .NET General
Extracting schema.. .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46