[jboss-jira] [JBoss JIRA] Created: (JBMETA-216) Many of the schema and DTD on http://www.jboss.org/j2ee/ are invalid

Jean-David Maillefer (JIRA) jira-events at lists.jboss.org
Tue Jul 28 08:35:29 EDT 2009


Many of the schema and DTD on http://www.jboss.org/j2ee/ are  invalid
---------------------------------------------------------------------

                 Key: JBMETA-216
                 URL: https://jira.jboss.org/jira/browse/JBMETA-216
             Project: JBoss Metadata
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: Irrelevant, except that I use eclipse Galileo to develop (and validate) the JBoss configuration files
            Reporter: Jean-David Maillefer
            Assignee: Alexey Loubyansky
            Priority: Minor


The following files available on the web (http://www.jboss.org/j2ee/) are not valid:

Description	Resource	Path	Location	Type
A '(' character or an element type is required in the declaration of element type "simpleType".	datatypes.dtd	/SITData/j2ee/dtd	line 95	DTD Problem
Type	Path	Resource	Location	Description
DTD Problem	j2ee/dtd	datatypes.dtd	line 95	A '(' character or an element type is required in the declaration of element type "simpleType".
DTD Problem	j2ee/dtd	jaws.dtd	line 13	The element 'cmp-field' has not been declared.
DTD Problem	j2ee/dtd	jboss-ds_5_0.dtd	line 34	The element 'background-validation-millis' has not been declared.
DTD Problem	j2ee/dtd	jboss-ds_5_0.dtd	line 417	The element 'background-validation-millis' has not been declared.
DTD Problem	j2ee/dtd	jboss-ds_5_0.dtd	line 425	The element 'background-validation-millis' has not been declared.
DTD Problem	j2ee/dtd	jboss-ds_5_0.dtd	line 49	The element 'background-validation-millis' has not been declared.
DTD Problem	j2ee/dtd	jboss-ds_5_0.dtd	line 62	The element 'background-validation-millis' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 367	The element 'false' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 367	The element 'true' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 455	The element 'key' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 455	The element 'value' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 374	The element 'false' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 374	The element 'true' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 462	The element 'key' has not been declared.
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 462	The element 'value' has not been declared.
XML Schema Problem	j2ee/schema	jboss_5_0.xsd	line 410	cos-nonambig: "http://www.jboss.com/xml/ns/javaee":security-identity and "http://www.jboss.com/xml/ns/javaee":security-identity (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
XML Schema Problem	j2ee/schema	jboss_5_1.xsd	line 349	cos-nonambig: "http://www.jboss.com/xml/ns/javaee":security-identity and "http://www.jboss.com/xml/ns/javaee":security-identity (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
XML Schema Problem	j2ee/schema	jbxb_1_0.xsd	line 19	src-resolve.4.2: Error resolving component 'jbxb:package'. It was detected that 'jbxb:package' is in namespace 'http://www.jboss.org/xml/ns/jbxb', but components from this namespace are not referenceable from schema document 'file:///C:/eclipse-workspace/SITData/j2ee/schema/jbxb_1_0.xsd'. If this is the incorrect namespace, perhaps the prefix of 'jbxb:package' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///C:/eclipse-workspace/SITData/j2ee/schema/jbxb_1_0.xsd'.
XML Schema Problem	j2ee/schema	jbxb_1_0.xsd	line 94	src-element.3: Element 'class' has both a 'type' attribute and a 'anonymous type' child. Only one of these is allowed for an element.
XML Schema Problem	j2ee/schema	web-jsptaglibrary_2_0.xsd	line 1	Referenced file contains errors (j2ee/schema/j2ee_1_4.xsd).  Details: sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of "http://java.sun.com/xml/ns/j2ee,listenerType'. line 722


The following files available from SVN (JBossAS/projects/metadata/trunk/src/main/resources 90580) are not valid:
Type	Path	Resource	Location	Description	Fix
DTD Problem	j2ee/dtd	connector_1_6.dtd	line 78	The element 'required-inflow-context' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	datatypes.dtd	line 95	A '(' character or an element type is required in the declaration of element type "simpleType".	TODO
DTD Problem	j2ee/dtd	jaws.dtd	line 13	The element 'cmp-field' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 367	The element 'true' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 367	The element 'false' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 455	The element 'key' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_0.dtd	line 455	The element 'value' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 374	The element 'false' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 374	The element 'true' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 462	The element 'key' has not been declared.	add missing declaration
DTD Problem	j2ee/dtd	jboss-web_4_2.dtd	line 462	The element 'value' has not been declared.	add missing declaration
XML Schema Problem	j2ee/schema	jboss_5_1.xsd	line 1218	src-resolve: Cannot resolve the name 'jboss:webservice-descriptionType' to a(n) 'type definition' component.	update http://www.jboss.org/j2ee/schema/jboss-common_5_1.xsd to latest version
XML Schema Problem	j2ee/schema	jboss-web_5_1.xsd	line 95	src-resolve: Cannot resolve the name 'jboss:webservice-descriptionType' to a(n) 'type definition' component.	update http://www.jboss.org/j2ee/schema/jboss-common_5_1.xsd to latest version
XML Schema Problem	j2ee/schema	jbxb_1_0.xsd	line 19	src-resolve.4.2: Error resolving component 'jbxb:package'. It was detected that 'jbxb:package' is in namespace 'http://www.jboss.org/xml/ns/jbxb', but components from this namespace are not referenceable from schema document 'j2ee/schema/jbxb_1_0.xsd'. If this is the incorrect namespace, perhaps the prefix of 'jbxb:package' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'j2ee/schema/jbxb_1_0.xsd'.	TODO
XML Schema Problem	j2ee/schema	jbxb_1_0.xsd	line 94	src-element.3: Element 'class' has both a 'type' attribute and a 'anonymous type' child. Only one of these is allowed for an element.	TODO
XML Schema Problem	j2ee/schema	web-jsptaglibrary_2_0.xsd	line 1	Referenced file contains errors (j2ee/schema/j2ee_1_4.xsd).  Details: sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of "http://java.sun.com/xml/ns/j2ee,listenerType'. line 722	TODO


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list