Stuck with the same error
I found out that "call-template" requires declaring all incoming parameters.
So just add <xsl:param name = "type" /> into all callable templates. In 
particular, insert "<xsl:param name = "type" />" at line 52 after 
"<xsl:template name="typename">"

On Sunday, December 17, 2017 at 7:20:21 PM UTC+2, Claudiu C wrote:
>
> Hello!
>
> I want to generate protobuf representation from fpml XSD (
> http://www.fpml.org/the_standard/current/).  The target stack is c++. 
> I've tried xsd2proto.xslt, but it doesn't work:\
>
> xsltproc xsd2proto.xslt ../../Downloads/confirmation/fpml-main-5-9.xsd
> runtime error: file xsd2proto.xslt line 52 element choose
>
> Before I try to write protobuf utils myself for this (schema converter / 
> marshaller), I wanted to ask if anyone tried this already or at least if I 
> have a starting point.
>
> Many thanks,
>
> Claudiu
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to