[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4505) SAX error when parsing Seam 2.1 s.tld - org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'.

Ondrej Žižka (JIRA) jira-events at lists.jboss.org
Wed Dec 16 09:17:30 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12500330#action_12500330 ] 

Ondrej Žižka commented on JBSEAM-4505:
--------------------------------------

-Dxb.builder.useUnorderedSequence=true  does not work.

> SAX error when parsing Seam 2.1 s.tld - org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'.
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4505
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4505
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.0.SP1, 2.1.1.CR1, 2.1.1.CR2, 2.1.1.GA, 2.1.2.CR1, 2.1.2.CR2, 2.1.2.GA, 2.2.0.CR1, 2.2.0.GA
>         Environment: AS 6 trunk, EmbJopr
>            Reporter: Ondrej Žižka
>            Priority: Blocker
>         Attachments: s.tld-parse-error-stacktrace.txt, s.tld.xml
>
>
> Caught when starting Seam on AS 6 trunk.
> The <description> needs to go first:
> http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd
> 		<attribute>
> 			<name>itemDisabled</name>
> 			<rtexprvalue>false</rtexprvalue>
> 			<description>Alias for disabled : if true the SelectItem will be rendered disabled. Can reference the var variable</description>
> 		</attribute>
> org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{"http://java.sun.com/xml/ns/javaee":type, "http://java.sun.com/xml/ns/javaee":deferred-value, "http://java.sun.com/xml/ns/javaee":deferred-method}' is expected. @ vfszip:/home/ondra/work/JOPRembedded/AS-svn-trunk/build/output/jboss-6.0.0-SNAPSHOT/server/default/deploy/jbas5-admin-console/WEB-INF/lib/jboss-seam-ui-2.1.0.SP1.jar/META-INF/s.tld[2205,18]
>         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
>         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
>         at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
>         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
>         ... 38 more

-- 
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 seam-issues mailing list