Details
Activity
- All
- Comments
- Work Log
- History
- Activity
- Subversion Commits
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Description |
If I have a jar a.jar with datatypes.xml like so: <?xml version="1.0" ?> <datatypes xmlns="http://www.mmbase.org/xmlns/datatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mmbase.org/xmlns/datatypes http://www.mmbase.org/xmlns/datatypes.xsd"> <datatype base="string" id="type_a" /> <datatype base="type_b" id="subtype_b" /> </datatypes> and b.jar: <?xml version="1.0" ?> <datatypes xmlns="http://www.mmbase.org/xmlns/datatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mmbase.org/xmlns/datatypes http://www.mmbase.org/xmlns/datatypes.xsd"> <datatype base="string" id="type_b" /> <datatype base="type_a" id="subtype_a" /> </datatypes> Then either subtype_b or subtype_a is failing to load, because it is not defined in which order the jars are parsed. IOW, if you have jar with a dataype based on a datatype in mmbase.jar it might fail if it's datatypes.xml is accidentily read _before_ mmbase.jar. This may e.g. happend witn mmbase-email.jar. |
If I have a jar a.jar with datatypes.xml like so: <?xml version="1.0" ?> <datatypes xmlns="http://www.mmbase.org/xmlns/datatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mmbase.org/xmlns/datatypes http://www.mmbase.org/xmlns/datatypes.xsd"> <datatype base="string" id="type_a" /> <datatype base="type_b" id="subtype_b" /> </datatypes> and b.jar: <?xml version="1.0" ?> <datatypes xmlns="http://www.mmbase.org/xmlns/datatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mmbase.org/xmlns/datatypes http://www.mmbase.org/xmlns/datatypes.xsd"> <datatype base="string" id="type_b" /> <datatype base="type_a" id="subtype_a" /> </datatypes> Then either subtype_b or subtype_a is failing to load, because it is not defined in which order the jars are parsed. IOW, if you have jar with a dataype based on a datatype in mmbase.jar it might fail if it's datatypes.xml is accidentily read _before_ mmbase.jar. This may e.g. have happened with mmbase-email.jar. |