]
Alex Fu resolved JBAS-3805.
---------------------------
Resolution: Done
Checked in to Branch_4_0 at r#58074.
Validation problem with jboss-web_4_0.dtd's
replication-field-batch-mode element
--------------------------------------------------------------------------------
Key: JBAS-3805
URL:
http://jira.jboss.com/jira/browse/JBAS-3805
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-4.0.5.GA
Reporter: Alex Fu
Assigned To: Alex Fu
Priority: Minor
Fix For: JBossAS-4.2.0.CR1, JBossAS-4.0.5.SP1
When running Sun's msv XML validator against jboss-web_4_0.dtd that is shipped with
4.0.5.GA, it reports:
element "false" is not defined.
521(a)jboss-web_4_0.dtd
element "true" is not defined.
521(a)jboss-web_4_0.dtd
Reason:
The DTD has the following line:
<!ELEMENT replication-field-batch-mode (true|false)>
I guess that we want an enumerated list. However, DTD only allows attribute to have
enumerated list, not element. So, the above line is actually saying that
replication-field-batch-mode contains two elements: true and false (not literally). Thus
the validator complains about missing the definitions for true and false.
Changing the above line into the following fixes the problem:
<!ELEMENT replication-field-batch-mode (#PCDATA)>
It seems all other validators are OK with it, except Sun msv.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: