[jboss-jira] [JBoss JIRA] Created: (JBAS-3805) Validation problem with jboss-web_4_0.dtd's replication-field-batch-mode element
Alex Fu (JIRA)
jira-events at jboss.com
Wed Nov 1 11:08:41 EST 2006
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.0.6.CR1
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 at jboss-web_4_0.dtd
element "true" is not defined.
521 at 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list