[ xframe-Bugs-1362791 ] Transformation fails for root element with ns in attributes

"SourceForge.net" <[email protected]> Mon, 21 Nov 2005 05:49:29 -0800
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #1362791, was opened at 2005-11-21 13:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1362791&group_id=48863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jentra (jentra)
Assigned to: Nobody/Anonymous (nobody)
Summary: Transformation fails for root element with ns in attributes 

Initial Comment:
The transformation fails for schemas that use a
namespaced attribute in the root element.

Example: jxb:version

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
           jxb:version="1.0"

            elementFormDefault="unqualified">

(for a full Example see
http://www.ppart.de/apps/color/ColorTable.xsd

Code lines affected:
index-all.xsl line 68
overview-all.xsl line 68
schema-index.xsl line 78


The select statement '@*' will match all attributes
regardless off the namespace:

  <xsl:template match="xs:schema">^M
    <doc:index-all href="./schema-summary.html">^M
      <xsl:for-each select="@*">^M
        <xsl:attribute name="{name()}"><xsl:value-of
select="."/></xsl:attribute>^M
      </xsl:for-each>^M


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1362791&group_id=48863


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click