You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Gilles Bayon (JIRA)" <ib...@incubator.apache.org> on 2005/04/14 20:08:17 UTC
[jira] Assigned: (IBATISNET-36) "embedded" spelled wrong in SqlMapConfig.xsd in SVN
[ http://issues.apache.org/jira/browse/IBATISNET-36?page=history ]
Gilles Bayon reassigned IBATISNET-36:
-------------------------------------
Assign To: Gilles Bayon
> "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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira