|
|
|
date: Tue, 13 Sep 2005 05:50:14 -0700,
group: microsoft.public.windows.developer.winfx.winfs
back
RE: Schema source
Erik -
The actual schema XML files are not currently part of the SDK or
documentation, but we are looking into what it would take to include them
with the SDK in the future. We'll make a post to the WinFS blog if we are
able to make them available.
In the meantime, I'd suggest using the unsupported tool Type Browser to
explore the schemas. While it doesn't give you the actual schema XML, it
provides access to pretty much all the information contained within it.
Thanks for the feedback,
-josh
"eirikhm" wrote:
> The actual XML schema files for Contact, Image, Document etc. I'm not trying
> to do anything special, just want to have a look at them and see how
> Microsoft writes them. The SDK docs is not that good on the process of
> developing custom schemas.
>
>
> "Mindy Martin [MSFT]" wrote:
>
> > Hi Erik,
> >
> > What type of source files are you looking for? Could you elaborate on what
> > you are trying to do with them?
> >
> > Cheers,
> > Mindy
> >
> > "eirikhm" wrote:
> >
> > > I've been looking around the SDK files for the source for the currently
> > > implemented schemas. I guess they are not avaivable at the moment?
> > >
> > > Any plans for a release?
date: Wed, 14 Sep 2005 14:38:18 -0700
author: Josh Michaels [MSFT] Josh Michaels [MSFT]@discussions.microsoft.com
Re: Schema source
Thanks Dave,
At the top-level, we need a way to implement
System.Xml.Serialization.IXmlSerializable (the GetSchema, WriteXML and
ReadXML methods) to support serialization of WinFS Items, their extensions
and relationships to our XML-based persistence format in a .NET standard
way.
As an interim workaround, we're looking at http://www.base4.net. We've been
able, for example, to make IXmlSerializable and by implication, the
[WebMethod] attribute work autmatically.
Michael.
--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs
"Dave Nettleton [MSFT]" wrote in message
news:%2379mqLuvFHA.3756@tk2msftngp13.phx.gbl...
> Michael
>
> just as a follow-up. Can you explain any more about the form that you are
> looking to serialize to and the scenario you are considering using it
> for?
> We are examining plans for a serialization form for WinFS data and I'd
> like
> to understand more about what you're plans / requirements are in this
> area.
>
> Thanks
> Dave
>
> Dave Nettleton[MSFT]
> This posting is provided "AS IS" with no warranties and confers no rights.
>
>
> "Michael Herman (Parallelspace/OpenCanal)"
> <mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
> news:O1XxU07uFHA.4032@TK2MSFTNGP15.phx.gbl...
>> Related, are there any API calls for reading/traversing/enumerating the
>> WinFS schema definition for a type?
>>
>> We're currrently trying to use .NET reflection to deduce the structure of
> a
>> WinFS type with the objective of being able to serailize WinFS items into
>> our own on-disk format. Using .NET reflection against WinFS types is
> pretty
>> ugly because, from a .NET framework perspective, there is no apparent
>> separatation between the "business members" of a WinFS type and the
>> "internal members" used to support the needs of the WinFS/.NET run-time.
>>
>> --
>> Michael Herman
>> Parallelspace / OpenCanal
>> OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs
>> "eirikhm" wrote in message
>> news:BA381DDF-1FAF-4BF2-95C7-0EB65DC92006@microsoft.com...
>> > I've been looking around the SDK files for the source for the currently
>> > implemented schemas. I guess they are not avaivable at the moment?
>> >
>> > Any plans for a release?
>>
>>
>
>
date: Thu, 22 Sep 2005 10:53:56 -0400
author: Michael Herman \(Parallelspace/OpenCanal\) am
Re: Schema source
Michael - if we were to able to provide APIs to both generate and consume a
"standard XML form" for WinFS objects then would you be ok with transforming
the resulting XML with an XSLT or would you still want to generate your own
form directly?
Thanks
Dave.
Dave Nettleton[MSFT]
This posting is provided "AS IS" with no warranties and confers no rights.
"Michael Herman (Parallelspace/OpenCanal)"
<mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
news:uE%23C4V4vFHA.2348@TK2MSFTNGP15.phx.gbl...
> Thanks Dave,
>
> At the top-level, we need a way to implement
> System.Xml.Serialization.IXmlSerializable (the GetSchema, WriteXML and
> ReadXML methods) to support serialization of WinFS Items, their extensions
> and relationships to our XML-based persistence format in a .NET standard
> way.
>
> As an interim workaround, we're looking at http://www.base4.net. We've
been
> able, for example, to make IXmlSerializable and by implication, the
> [WebMethod] attribute work autmatically.
>
> Michael.
>
> --
> Michael Herman
> Parallelspace / OpenCanal
> OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs
> "Dave Nettleton [MSFT]" wrote in message
> news:%2379mqLuvFHA.3756@tk2msftngp13.phx.gbl...
> > Michael
> >
> > just as a follow-up. Can you explain any more about the form that you
are
> > looking to serialize to and the scenario you are considering using it
> > for?
> > We are examining plans for a serialization form for WinFS data and I'd
> > like
> > to understand more about what you're plans / requirements are in this
> > area.
> >
> > Thanks
> > Dave
> >
> > Dave Nettleton[MSFT]
> > This posting is provided "AS IS" with no warranties and confers no
rights.
> >
> >
> > "Michael Herman (Parallelspace/OpenCanal)"
> > <mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
> > news:O1XxU07uFHA.4032@TK2MSFTNGP15.phx.gbl...
> >> Related, are there any API calls for reading/traversing/enumerating the
> >> WinFS schema definition for a type?
> >>
> >> We're currrently trying to use .NET reflection to deduce the structure
of
> > a
> >> WinFS type with the objective of being able to serailize WinFS items
into
> >> our own on-disk format. Using .NET reflection against WinFS types is
> > pretty
> >> ugly because, from a .NET framework perspective, there is no apparent
> >> separatation between the "business members" of a WinFS type and the
> >> "internal members" used to support the needs of the WinFS/.NET
run-time.
> >>
> >> --
> >> Michael Herman
> >> Parallelspace / OpenCanal
> >> OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs
> >> "eirikhm" wrote in message
> >> news:BA381DDF-1FAF-4BF2-95C7-0EB65DC92006@microsoft.com...
> >> > I've been looking around the SDK files for the source for the
currently
> >> > implemented schemas. I guess they are not avaivable at the moment?
> >> >
> >> > Any plans for a release?
> >>
> >>
> >
> >
>
>
date: Thu, 22 Sep 2005 17:34:07 -0700
author: Dave Nettleton [MSFT]
Re: Schema source
Re: if we were to able to provide APIs to both generate and consume a
"standard XML form" for WinFS objects
Sort of:
1. There would also have to be corresponding method that returned an XML
schema that matched the XML the generator/consumer used -- then we would
have the trio of functionality needed to implement IXmlSerializable.
2. This approach also implies we would have to write wrapper classes that
implement IXmlSerializable for every intrinsic and custom Item, Item
Extension, etc. that we want to serialize. ...a downside but an interim
workaround.
3. We would have to see what's actually in the schema (elements and
organization) for some sample types like Person and Contact.
--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs
"Dave Nettleton [MSFT]" wrote in message
news:ey1NDa9vFHA.3720@TK2MSFTNGP14.phx.gbl...
> Michael - if we were to able to provide APIs to both generate and consume
> a
> "standard XML form" for WinFS objects then would you be ok with
> transforming
> the resulting XML with an XSLT or would you still want to generate your
> own
> form directly?
>
> Thanks
> Dave.
>
> Dave Nettleton[MSFT]
> This posting is provided "AS IS" with no warranties and confers no rights.
>
> "Michael Herman (Parallelspace/OpenCanal)"
> <mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
> news:uE%23C4V4vFHA.2348@TK2MSFTNGP15.phx.gbl...
>> Thanks Dave,
>>
>> At the top-level, we need a way to implement
>> System.Xml.Serialization.IXmlSerializable (the GetSchema, WriteXML and
>> ReadXML methods) to support serialization of WinFS Items, their
>> extensions
>> and relationships to our XML-based persistence format in a .NET standard
>> way.
>>
>> As an interim workaround, we're looking at http://www.base4.net. We've
> been
>> able, for example, to make IXmlSerializable and by implication, the
>> [WebMethod] attribute work autmatically.
>>
>> Michael.
>>
>> --
>> Michael Herman
>> Parallelspace / OpenCanal
>> OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs
>> "Dave Nettleton [MSFT]" wrote in message
>> news:%2379mqLuvFHA.3756@tk2msftngp13.phx.gbl...
>> > Michael
>> >
>> > just as a follow-up. Can you explain any more about the form that you
> are
>> > looking to serialize to and the scenario you are considering using it
>> > for?
>> > We are examining plans for a serialization form for WinFS data and I'd
>> > like
>> > to understand more about what you're plans / requirements are in this
>> > area.
>> >
>> > Thanks
>> > Dave
>> >
>> > Dave Nettleton[MSFT]
>> > This posting is provided "AS IS" with no warranties and confers no
> rights.
>> >
>> >
>> > "Michael Herman (Parallelspace/OpenCanal)"
>> > <mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
>> > news:O1XxU07uFHA.4032@TK2MSFTNGP15.phx.gbl...
>> >> Related, are there any API calls for reading/traversing/enumerating
>> >> the
>> >> WinFS schema definition for a type?
>> >>
>> >> We're currrently trying to use .NET reflection to deduce the structure
> of
>> > a
>> >> WinFS type with the objective of being able to serailize WinFS items
> into
>> >> our own on-disk format. Using .NET reflection against WinFS types is
>> > pretty
>> >> ugly because, from a .NET framework perspective, there is no apparent
>> >> separatation between the "business members" of a WinFS type and the
>> >> "internal members" used to support the needs of the WinFS/.NET
> run-time.
>> >>
>> >> --
>> >> Michael Herman
>> >> Parallelspace / OpenCanal
>> >> OpenCanal Community for WinFS:
>> >> http://www.opencanal.com/community/winfs
>> >> "eirikhm" wrote in message
>> >> news:BA381DDF-1FAF-4BF2-95C7-0EB65DC92006@microsoft.com...
>> >> > I've been looking around the SDK files for the source for the
> currently
>> >> > implemented schemas. I guess they are not avaivable at the moment?
>> >> >
>> >> > Any plans for a release?
>> >>
>> >>
>> >
>> >
>>
>>
>
>
date: Thu, 22 Sep 2005 22:18:27 -0400
author: Michael Herman \(Parallelspace/OpenCanal\) am
|
|