Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: xml
-
Labels:None
-
Environment:nano 1.0
-
Number of attachments :
Description
Component instance class spec. in XML builder script is invalid with respect to its DTD:
<!DOCTYPE container PUBLIC "-//NanoContainer//DTD NanoContainer XML 1.0//EN" "http://nanocontainer.org/dtd/nanocontainer-xml-1_0.dtd">
<container>
<component-instance key="com.example.MyService">
<com.example.MyServiceImpl/> <!-- This line is invalid -->
</component-instance>
</container>
P.S. yes, such construction cannot be validated with DTD, but this one could be:
<component-instance key="com.example.MyService">
<instance-specification class="com.example.MyServiceImpl"/>
</component-instance>
Activity
Jörg Schaible
made changes -
Jörg Schaible
made changes -
Component/s | xml [ 11632 ] | |
Affects Version/s | 1.0 [ 10148 ] |
Moved issue to correct project and set proper field values.