You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Ron Grabowski (JIRA)" <ib...@incubator.apache.org> on 2005/05/04 00:57:09 UTC
[jira] Commented: (IBATISNET-36) "embedded" spelled wrong in SqlMapConfig.xsd in SVN
[ http://issues.apache.org/jira/browse/IBATISNET-36?page=comments#action_64418 ]
Ron Grabowski commented on IBATISNET-36:
----------------------------------------
I don't think this ever got fixed. As of 5/3/2005 the SqlMapConfig.xsd file still has the following misspelling in it on line 55:
<xs:attribute name="embeded" type="xs:string"/>
http://tinyurl.com/ck7lk
http://svn.apache.org/repos/asf/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapConfig.xsd
> "embedded" spelled wrong in SqlMapConfig.xsd in SVN
> ---------------------------------------------------
>
> Key: IBATISNET-36
> URL: http://issues.apache.org/jira/browse/IBATISNET-36
> Project: iBatis for .NET
> Type: Bug
> Versions: DataMapper 1.1
> Environment: [assembly: AssemblyVersion("1.1.458")]
> Reporter: Ron Grabowski
> Assignee: Gilles Bayon
> Fix For: DataMapper 1.2
>
> As of 4/13/2005, SqlMapConfig.xsd contains the following snippet:
> <xs:element name="sqlMap">
> <xs:complexType>
> <xs:attribute name="resource" type="xs:string"/>
> <xs:attribute name="url" type="xs:string"/>
> <xs:attribute name="embeded" type="xs:string"/>
> </xs:complexType>
> </xs:element>
> "embeded" is misspelled. According to dictionary.com the correct spelling is "embedded":
> http://dictionary.reference.com/search?q=embedded
> The corrected sqlMap block is as follow:
> <xs:element name="sqlMap">
> <xs:complexType>
> <xs:attribute name="resource" type="xs:string"/>
> <xs:attribute name="url" type="xs:string"/>
> <xs:attribute name="embedded" type="xs:string"/>
> </xs:complexType>
> </xs:element>
> All sqlMaps that use embedded resources get the following exception:
> ConfigurationException: Invalid SqlMap.config document. cause :The 'embedded' attribute is not declared. An error occurred at , (1, 617)
> It was a nice surprise to see more verbose errors messages when parsing the config file. Thank you!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira