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

"SourceForge.net" <[email protected]> Tue, 14 Feb 2006 16:40:23 -0800
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #1362791, was opened at 2005-11-21 14:49
Message generated for change (Comment added) made by kriede
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: all platforms
>Group: xsddoc-1.0
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Jentra (jentra)
>Assigned to: bforge (bforge)
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


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

>Comment By: Kurt Riede (kriede)
Date: 2006-02-15 01:40

Message:
Logged In: YES 
user_id=484961

Thank you for this report.
Changes for all three files are now available in CVS HEAD.


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

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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642