You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/06/27 19:43:28 UTC
DO NOT REPLY [Bug 21152] New: -
[Fatal Error] formalize_custom.xsl:133:35: Element type "FE_PORTS_FAMILY:Migration" must be followed by either attribute specifications, ">" or "/>".
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21152>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21152
[Fatal Error] formalize_custom.xsl:133:35: Element type "FE_PORTS_FAMILY:Migration" must be followed by either attribute specifications, ">" or "/>".
Summary: [Fatal Error] formalize_custom.xsl:133:35: Element type
"FE_PORTS_FAMILY:Migration" must be followed by either
attribute specifications, ">" or "/>".
Product: XalanJ2
Version: CurrentCVS
Platform: Sun
OS/Version: Solaris
Status: UNCONFIRMED
Severity: Major
Priority: Other
Component: org.apache.xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: mturnbull@metasolv.com
I have previously written and xsl stylesheet for xalan 2.2, it does not work
with the 2.5.1 release:
I get the following error:
bash-2.02$ java org.apache.xalan.xslt.Process -
in ./custom/Vserve_obj235_custom.xml -xsl formalize_custom.xsl
[Fatal Error] formalize_custom.xsl:133:35: Element
type "FE_PORTS_FAMILY:Migration" must be followed by either attribute
specifications, ">" or "/>".
file:///apps/vpn/vserve/src/xml/dmu/formalize_custom.xsl; Line #133; Column
#35; XSLT Error (javax.xml.transform.TransformerConfigurationException):
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
Element type "FE_PORTS_FAMILY:Migration" must be followed by either attribute
specifications, ">" or "/>".
And the template i am using (or trying to use looks like)
<xsl:template name="AddVRF_VPNNode">
<FE_PORTS_FAMILY:Migration::AddVRF_VPNNode.Request
xmlns:iLibPlus="http://www.metasolv.com/Objectel">
<blah>
<xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:for-each select="Batch/blah">
<xsl:call-template name="PrintOutput"/>
</xsl:for-each>
</blah>
</FE_PORTS_FAMILY:Migration::AddVRF_VPNNode.Request>
</xsl:template>
<xsl:template name="PrintOutput">
<!-- Below to output <string> Value-->
<xsl:text disable-output-escaping="yes"><string></xsl:text>
<xsl:value-of select="text()"/>
<!-- Below to output </string> -->
<xsl:text disable-output-escaping="yes"></string> </xsl:text>
</xsl:template>
Previous versions of xalan allowed this to work, what am i doing wrong?
Regards
Mark