You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Michael Glavassevich <mr...@ca.ibm.com> on 2010/04/12 08:04:34 UTC
[NOTICE] Compromised JIRA passwords
Hi all,
If you've used Apache's JIRA tracker at all in the last week please reset
your password. Apparently someone hacked into the system recently. More
details here [1][2].
Thanks.
[1]
http://mail-archives.apache.org/mod_mbox/www-community/201004.mbox/%3C387642.28804.qm@web54404.mail.re2.yahoo.com%3E
[2] http://markmail.org/message/5i6zoqnu6qzdsehp
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
Validation against schema buffer
Posted by "Sharma, Gaurav" <Ga...@Safenet-inc.com>.
Hi All,
Can anyone provide an example of how validation can be performed against schema loaded in any string buffer. I have tried various optiona but I am not getting any success.
What I am trying to do is:
fstream in("my.xsd");
string s, line;
while(getline(in, line))
s += line;
XMLPlatformUtils::Initialize ();
MemoryManager* mm = new MemoryManagerImpl();
XMLGrammarPool* gp = new XMLGrammarPoolImpl(mm);
XercesDOMParser* parser = NULL;
parser = new XercesDOMParser(0, XMLPlatformUtils::fgMemoryManager, gp);
parser->setCreateCommentNodes(false);
parser->setDoNamespaces(true);
parser->setValidationScheme(XercesDOMParser::Val_Always);
parser->setDoSchema(true);
parser->setValidationSchemaFullChecking(true);
parser->setIncludeIgnorableWhitespace(false);
parser->cacheGrammarFromParse(true);
parser->useCachedGrammarInParse(true);
parser->setLoadSchema(true);
parser->setHandleMultipleImports(true);
MemBufInputSource mem_buf((XMLByte*)s.c_str(),
strlen(s.c_str()),
"fake_buf",
false);
if(!parser->loadGrammar(mem_buf, Grammar::SchemaGrammarType, true)) // Grammer loads without error
return -1;
delete parser;
parser = new XercesDOMParser(0, XMLPlatformUtils::fgMemoryManager, gp);
parser->setCreateCommentNodes(false);
parser->setDoNamespaces(true);
parser->setValidationScheme(XercesDOMParser::Val_Always);
parser->setDoSchema(true);
parser->setValidationSchemaFullChecking(true);
parser->setIncludeIgnorableWhitespace(false);
parser->cacheGrammarFromParse(true);
parser->useCachedGrammarInParse(true);
parser->setLoadSchema(true);
parser->setHandleMultipleImports(true);
parser->parse("my_xml.xml"); // Here parsing fails
if(parser->getErrorCount() > 0)
return -1;
Kindly suggest me what am I doing wrong.
With Best Regards
Gaurav Sharma
The information contained in this electronic mail transmission
may be privileged and confidential, and therefore, protected
from disclosure. If you have received this communication in
error, please notify us immediately by replying to this
message and deleting it from your computer without copying
or disclosing it.
Re: [NOTICE] Compromised JIRA passwords
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
More information on the incident:
https://blogs.apache.org/infra/entry/apache_org_04_09_2010. You may also
want to change your Bugzilla or Confluence Wiki passwords (if you have
accounts).
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
Michael Glavassevich <mr...@ca.ibm.com> wrote on 04/12/2010 02:04:34 AM:
> Hi all,
>
> If you've used Apache's JIRA tracker at all in the last week please
> reset your password. Apparently someone hacked into the system
> recently. More details here [1][2].
>
> Thanks.
>
> [1] http://mail-archives.apache.org/mod_mbox/www-community/
> 201004.mbox/%3C387642.28804.qm@web54404.mail.re2.yahoo.com%3E
> [2] http://markmail.org/message/5i6zoqnu6qzdsehp
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
Re: [NOTICE] Compromised JIRA passwords
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
More information on the incident:
https://blogs.apache.org/infra/entry/apache_org_04_09_2010. You may also
want to change your Bugzilla or Confluence Wiki passwords (if you have
accounts).
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
Michael Glavassevich <mr...@ca.ibm.com> wrote on 04/12/2010 02:04:34 AM:
> Hi all,
>
> If you've used Apache's JIRA tracker at all in the last week please
> reset your password. Apparently someone hacked into the system
> recently. More details here [1][2].
>
> Thanks.
>
> [1] http://mail-archives.apache.org/mod_mbox/www-community/
> 201004.mbox/%3C387642.28804.qm@web54404.mail.re2.yahoo.com%3E
> [2] http://markmail.org/message/5i6zoqnu6qzdsehp
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
Re: [NOTICE] Compromised JIRA passwords
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
More information on the incident:
https://blogs.apache.org/infra/entry/apache_org_04_09_2010. You may also
want to change your Bugzilla or Confluence Wiki passwords (if you have
accounts).
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
Michael Glavassevich <mr...@ca.ibm.com> wrote on 04/12/2010 02:04:34 AM:
> Hi all,
>
> If you've used Apache's JIRA tracker at all in the last week please
> reset your password. Apparently someone hacked into the system
> recently. More details here [1][2].
>
> Thanks.
>
> [1] http://mail-archives.apache.org/mod_mbox/www-community/
> 201004.mbox/%3C387642.28804.qm@web54404.mail.re2.yahoo.com%3E
> [2] http://markmail.org/message/5i6zoqnu6qzdsehp
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
Re: [NOTICE] Compromised JIRA passwords
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
More information on the incident:
https://blogs.apache.org/infra/entry/apache_org_04_09_2010. You may also
want to change your Bugzilla or Confluence Wiki passwords (if you have
accounts).
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
Michael Glavassevich <mr...@ca.ibm.com> wrote on 04/12/2010 02:04:34 AM:
> Hi all,
>
> If you've used Apache's JIRA tracker at all in the last week please
> reset your password. Apparently someone hacked into the system
> recently. More details here [1][2].
>
> Thanks.
>
> [1] http://mail-archives.apache.org/mod_mbox/www-community/
> 201004.mbox/%3C387642.28804.qm@web54404.mail.re2.yahoo.com%3E
> [2] http://markmail.org/message/5i6zoqnu6qzdsehp
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org