public override void parse(XmlBContext ctxt, string endingTag)
{
#pragma warning disable 0168, 0219
int indicator = 0;
char quoteChar;
string tempStr = null;
bool fl1926;
bool fl1927;
bool fl1928;
bool fl1929;
bool fl1930;
bool fl1931;
#pragma warning restore 0168, 0219
ctxt.skipWhiteSpace();
{
// Accept Attributes
fl1926 = false ;
fl1927 = false ;
fl1928 = false ;
fl1929 = false ;
fl1930 = false ;
fl1931 = true ;
while (fl1931) { // BeginLoop
switch (ctxt.current()) {
case 'v':
{
ctxt.advance();
if (ctxt.lookAheadString("ersion=")){
indicator = 1926;
} else {
indicator = 1932;
} // If
break;
} // Case
case 'U':
{
ctxt.advance();
if (ctxt.lookAheadString("pdates=")){
indicator = 1929;
} else {
indicator = 1932;
} // If
break;
} // Case
case 'N':
{
ctxt.advance();
if (ctxt.lookAheadString("ame=")){
indicator = 1927;
} else {
indicator = 1932;
} // If
break;
} // Case
case 'I':
{
ctxt.advance();
if (ctxt.lookAheadString("sRemoved=")){
indicator = 1930;
} else {
indicator = 1932;
} // If
break;
} // Case
case 'G':
{
ctxt.advance();
if (ctxt.lookAheadString("uid=")){
indicator = 1928;
} else {
indicator = 1932;
} // If
break;
} // Case
default:
indicator = 1932;
break;
} // Switch
switch (indicator) {
case 1926: {
// Handling attribute version
// Also handles alien attributes with prefix version
if (fl1926){
ctxt.fail ("Duplicate attribute: version");
} // If
fl1926 = true ;
quoteChar = ctxt.acceptQuote();
this.setVersion((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1927: {
// Handling attribute Name
// Also handles alien attributes with prefix Name
if (fl1927){
ctxt.fail ("Duplicate attribute: Name");
} // If
fl1927 = true ;
quoteChar = ctxt.acceptQuote();
this.setName((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1928: {
// Handling attribute Guid
// Also handles alien attributes with prefix Guid
if (fl1928){
ctxt.fail ("Duplicate attribute: Guid");
} // If
fl1928 = true ;
quoteChar = ctxt.acceptQuote();
this.setGuid((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1929: {
// Handling attribute Updates
// Also handles alien attributes with prefix Updates
if (fl1929){
ctxt.fail ("Duplicate attribute: Updates");
} // If
fl1929 = true ;
quoteChar = ctxt.acceptQuote();
this.setUpdates((acceptor.lAcceptPcData(ctxt,-1, quoteChar, XmlBContext.WS_PRESERVE)));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
case 1930: {
// Handling attribute IsRemoved
// Also handles alien attributes with prefix IsRemoved
if (fl1930){
ctxt.fail ("Duplicate attribute: IsRemoved");
} // If
fl1930 = true ;
quoteChar = ctxt.acceptQuote();
this.setIsRemoved(acceptor.lAcceptBoolean(ctxt));
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
break;
} // End of dispatch label
// Final default label
case 1932: {
// Taking ignorable attributes into account
if (ctxt.isAlNum()){
ctxt.skipTill ('=');
ctxt.advance();
ctxt.skipWhiteSpace();
quoteChar = ctxt.acceptQuote();
ctxt.skipTill (quoteChar);
ctxt.accept(quoteChar);
ctxt.skipWhiteSpace();
} else {
if (!fl1930){
this.setIsRemoved( false);
} // If
fl1931 = false ;
} // If
break;
} // End of dispatch label
} // Dispatch
} // While
}
ctxt.skipWhiteSpace();
if (ctxt.current() == '/'){
ctxt.advance();
ctxt.accept('>');
} else {
ctxt.accept('>');
parseBody(ctxt);
ctxt.acceptString(endingTag);
// If formula empty
} // If
}