[ xframe-Bugs-1362791 ] Transformation fails for root element with ns in attributes
"SourceForge.net" <[email protected]> Fri, 24 Nov 2006 12:59:04 -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: Closed
Resolution: Fixed
Priority: 5
Private: No
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-11-24 21:59
Message:
Logged In: YES
user_id=484961
Originator: NO
closed; will be available in next release.
----------------------------------------------------------------------
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV