Hello,
i have to use the grammar for building a special xml-editor.
I'm evaluating this with the Sample SEnumVal. I want to convert
the sample in Perl, but it doesn't work. Why?
A reason is perhaps that the Object SchemaGrammar isn't implemented,
and SWIG don't find them. It is planed to implement this feature, too?
Excuse me very bad english...
The Problem-Part:
<schnipp file="SEnumVal.cpp" line="176">
SchemaGrammar* grammar = (SchemaGrammar*) rootGrammar;
RefHash3KeysIdPoolEnumerator<SchemaElementDecl> elemEnum =
grammar->getElemEnumerator();
</schnipp>
getElemEnumerator() provocs this error:
Can't locate auto/XML/Xerces/Grammar/getElemEnum.al in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i586-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl .) at ./SAX2Count.pl line 139
And typecasting isn't possible in Perl.
Nice greetings,
Markus
########
Hallo,
ich benutze die Grammar-Funktion f�r einen speziellen XML-Editor.
F�r den Anfang wollte ich das Beispiel SEnumVal benutzen und es
nach Perl konvertieren, was aber nicht geht. Warum?
Vielleicht liegt es daran, dass das Objekt SchemaGrammar gar nicht
f�r Perl implementiert ist und SWIG es auch nicht weiter verarbeitet.
Wir diese Feature irgendwann noch angeboten?
Der problematische Teil: siehe oben Tag schnipp
Viele Gr��e
Markus
--
*************************************************
----- Markus Fidelak ----- netpioneer -----
[EMAIL PROTECTED] -- www.netpioneer.de
phone.0721.92060.46 -- fax.0721.92060.30
*************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]