You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Bob Hanson <mn...@gmail.com> on 2005/03/18 19:27:40 UTC

incorrect documentation in DevGuide

DevGuide.pdf lists in Example 53 SqlMap elements, section 5.2.3.6

<dataMaps>
<sqlMap file="Maps/Category.xml"/>
<sqlMap file="Maps/Product.xml"/>
<dataMaps>

<dataMaps> should be <sqlMaps>
file= should be resource=


And a related question. Does file/resource expect a url, a path name or either?

Re: incorrect documentation in DevGuide

Posted by Roberto Rabe <ro...@apache.org>.
Bob,

You might have an old version of the guide.  The version on the Incubator site
does show resource on p 60: http://ibatisnet.sourceforge.net/DevGuide.pdf .
Furthermore, the C# DataMapper documentation src files in SVN are even more
recent than that guide (but still have to be updated for new features added to
the code base in the last few weeks).

Sorry for the confusion.  The move to the ASF-hosted SVN server did put a
temporary freeze to code/doc updates for a few weeks in Jan/Feb, so some stuff
that needed to be updated prior to the move still needs to be updated (mostly
in documentation as you can imagine).

Hope this helps!

Roberto



Quoting Bob Hanson <mn...@gmail.com>:

> DevGuide.pdf lists in Example 53 SqlMap elements, section 5.2.3.6
>
> <dataMaps>
> <sqlMap file="Maps/Category.xml"/>
> <sqlMap file="Maps/Product.xml"/>
> <dataMaps>
>
> <dataMaps> should be <sqlMaps>
> file= should be resource=
>
>
> And a related question. Does file/resource expect a url, a path name 
> or either?
>