|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: JDK 5 XSLTC handling of namespace prefixes
Julian Reschke wrote:
> drkm wrote:
> > Julian Reschke wrote:
> >> "This method will monitor all namespace declarations
> >> and make sure that no unnecessary declarations are
> >> output"
> >> Seems the current implementation fails to do that...
> > If I remember your problem, you want that a namespace
> > you're using become the default namespace in the output.
> > Where is an "unnecessary namespace declaration" ?
> It's unnecessary if there isn't anything in source XML or
> XSLT that suggests that a prefix is needed, but the engine
> insists of adding useless prefixes such as "ns00" (so, I
> should have said unnecessary namespace prefixes).
But the paper you cited doesn't. It speak about
"namespace declarations". And I guess by "unnecessary
namespace declarations" it means something like the
following, where the namespace is not used in its whole
scope:
<elem xmlns:ns="..."/>
BTW, "unnecessary" is in the sense of strict XML Namespace
REC, IMHO, and can't play with things like:
<xs:element type="ns:type" xmlns:ns="..."/>
Is the namespace (with prefix "ns") used in this last
example?
--drkm
___________________________________________________________________________
Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








