[jboss-jira] [JBoss JIRA] Commented: (JGRP-1078) Generated schema does not start with xsd:schema element

Sei Syvalta (JIRA) jira-events at lists.jboss.org
Fri Oct 23 09:16:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JGRP-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12491173#action_12491173 ] 

Sei Syvalta commented on JGRP-1078:
-----------------------------------

I'm not seeing this (or was it fixed already?). I get nicely:

<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:org:jgroups">
 <xs:element name="config">

Using java "1.5.0_18".

Btw, I think the xalan dependencies in pom.xml aren't needed, or at least I can run the maven build successfully without them. With Java 5 indentation seems to be lost, but with java 6 indentation works also nicely. I can get indentation with java 5 also, by setting tf.setAttribute("indent-number", 1); but that causes exception with Xalan.


> Generated schema does not start with xsd:schema element
> -------------------------------------------------------
>
>                 Key: JGRP-1078
>                 URL: https://jira.jboss.org/jira/browse/JGRP-1078
>             Project: JGroups
>          Issue Type: Sub-task
>            Reporter: Bela Ban
>            Assignee: Vladimir Blagojevic
>             Fix For: 2.8
>
>
> A schema needs to start with
> <?xml version="1.0" ?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> However, the <xsd:schema ... > element is missing ! 
> We need this, or else a validating parse will fail !

-- 
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