Windows Vista Forums

Trying to use WPF, I get many schema errors
  1. #1


    Juan Dent Guest

    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

  2. #2


    J Guest

    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

Trying to use WPF, I get many schema errors problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML with schema Miro .NET General 1 07 May 2009
Need to program it anyone know schema phil Live Mail 0 12 Feb 2009
Extracting schema.. mr t .NET General 1 17 Apr 2008
schema manager missing lansvcs Vista General 0 11 Apr 2008
Custom schema in winfs Javier Villanueva WinFS 0 23 May 2006