"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
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