Normative Schema for WF XAML?
Hi,
I don't think this question has been asked since last November. Is there a schema for XAML?
I'm working on some bits to generate workflow types and would to do less reverse-engineering of what Dev Studio produces. Thanks.
- Erik
[260 byte] By [
erikj] at [2007-12-23]
Given that XAML in and of itself, without attachment to WPF or WF, is an XML-based syntax for object instantiation .. the schema would rather depend on the underlying object model being instantiated.
Sure, there are rules for the format of defining object instantation, but I don't think you can truly do an XSD validation against a XAML file without also being able to attempt to instantiate the classes to which the XAML refers.
I don't agree. I understand that XAML itself is an outer wrapper for WPF or WF, but that doesn't mean that "xs:any" is the best Microsoft can do to document XML formats for those subsystems.
From the stuff I've seen in XAML so far, I haven't found anything that couldn't be represented in a proper XML Schema document. I don't really need a proper XML Schema for XAML/WF -- I just want documentation about the format. I can build my own schema if needed with whatever constraints are helpful to my situation. I just assumed that one from Microsoft must exist by now.