You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Dominik Stadler (JIRA)" <xe...@xml.apache.org> on 2006/03/09 09:27:42 UTC
[jira] Commented: (XERCESC-1308) SAX2 endElement event's qName
parsing error?
[ http://issues.apache.org/jira/browse/XERCESC-1308?page=comments#action_12369615 ]
Dominik Stadler commented on XERCESC-1308:
------------------------------------------
We need to patch our local version of Xerces and would like to find out which files were affected by this fix? How do I find out?
> SAX2 endElement event's qName parsing error?
> --------------------------------------------
>
> Key: XERCESC-1308
> URL: http://issues.apache.org/jira/browse/XERCESC-1308
> Project: Xerces-C++
> Type: Bug
> Components: SAX/SAX2
> Versions: 2.6.0
> Environment: windows xp(sp2) + vs.net 2003 + debug version
> Reporter: QingpingXu
> Assignee: Alberto Massari
> Priority: Critical
>
> When I use xerces-c_2_6 SAX2 parser to parse the testCategory.rdf,I get the event sequence:
> // parser->setFeature(XMLUni::fgSAX2CoreNameSpaces, true);
> ... ...
> startElement(...,qName = "rdf:RDF" ...)
> startElement(...,qName = "cims:ClassCategory" ...
> startElement(...,qName = "rdfs:label" ...
> endElement(...,qName = "rdfs:label")
> startElement(...,qName = "rdfs:comment" ...
> endElement(...,qName = "rdfs:comment")
> endElement(...,qName = "rdfs:ClassCategory")
> endElement(...,qName = "rdfs:RDF")
> Is this event sequence correct? Especially the endElement() event's qName argument of the "cims:ClassCategory" element or the "rdf:RDF" element? The qName argument of "cims:ClassCategory" element's endElement() event should be passed with the "cims:" prefix instead of "rdfs:" prefix,is that right?
> /// testCategory.rdf
> <?xml version="1.0" encoding="UTF-8"?>
> <rdf:RDF xmlns:cims="http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
> <cims:ClassCategory rdf:about="http://iec.ch/TC57/2003/CIM-schema-cim10#CIM">
> <rdfs:label xml:lang="en">CIM</rdfs:label>
> <rdfs:comment>The Common Information Model (CIM) represents a common logical view of EMS public data. The CIM definition consists of a comprehensive information model. This information model is largely independent of any specific technological implementation methods.</rdfs:comment>
> </cims:ClassCategory>
> </rdf:RDF>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org