Problems with sample: SEnumVal

"Markus Fidelak" <[email protected]>
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <21367CE593C8D11187D900485400992F01B0C45D@Q>
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     
*************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.