Click here to Skip to main content
15,917,862 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Problem with XPathNavigator Pin
Josh Smith5-May-06 8:41
Josh Smith5-May-06 8:41 
GeneralRe: Problem with XPathNavigator Pin
RoadieGS5-May-06 8:55
RoadieGS5-May-06 8:55 
GeneralRe: Problem with XPathNavigator Pin
George L. Jackson5-May-06 9:00
George L. Jackson5-May-06 9:00 
AnswerRe: Tree View in XSL?? Pin
led mike5-May-06 5:39
led mike5-May-06 5:39 
GeneralRe: Tree View in XSL?? Pin
led mike5-May-06 7:57
led mike5-May-06 7:57 
QuestionWeird XML Issue with C# Pin
seschu013-May-06 4:22
seschu013-May-06 4:22 
AnswerRe: Weird XML Issue with C# Pin
led mike5-May-06 5:48
led mike5-May-06 5:48 
QuestionQueries on MSXML Validation Pin
ssanand3-May-06 0:55
ssanand3-May-06 0:55 
Kindly help me with the following queries:

I'm using MSXML 4.0 in the SAX(2) parsing mode. I'm working on a desktop application in C++. Request you to resolve the following queries?

1. Does MSXML offers an equivalent of XMLUni::fgSAX2CoreValidation feature provided by the Xerces-c parser? From my understanding, the schema validation in xerces is configured using the XMLUni::fgXercesSchema and XMLUni::fgXercesSchemaFullChecking features and in MSXML same is done using the IXMLDOMSchemaCollection2Ptr interface and the schema-validation feature. However, I could not figure out a feature/property in MSXML corresponding to the coreValidation feature of the Xerces-c parser. MSDN states that MSXML 3.0 does not support setting of the "http://xml.org/sax/features/validation" feature. The same when tried using MSXML 4.0 also returns E_INVALIDARG.

2. The call to IXMLDOMSchemaCollection2Ptr->add () fails with a file not found (-2146697210) error. Could you please tell what should be passed as the namespace, and whether passing name of the DTD alone as the second parameter would be sufficient. {Is their some way through which the referred DTD can be resolved by invoking the ResolveEntity () function of the EntityResolver at this point also - The same DTD when referred through the DOCTYPE declaration in the xml, is resolved through a call to ResolveEntity () which in turn fetches the contents of the DTD from a DLL that houses that DTD.} There is no way I can pass an absolute path to the DTD that is actually a resource in a DLL.

3. What is the recommended way to populate the pointer to VARIANT, which is an Out parameter to the ResolveEntity () function of the EntityResolver. On using the CopyTo function on a local CCOMBstr, a constant memory leak is reported on every parsing-iteration of the same XML. Upon reaching a high number of iterations, the parser randomly (or, maybe it follows a pattern) stops reporting elements of the XML being parsed to the ContentHandler. Is this something to do with the Delayed Garbage Collection of MSXML? Could some one please tell how to disable this feature.


Satnam Singh Anand

-- modified at 8:16 Wednesday 3rd May, 2006
QuestionxmlObjectDataSource not work with namespace Pin
erikkl200030-Apr-06 7:44
erikkl200030-Apr-06 7:44 
QuestionHelp me description of class CXmlFile ! Pin
vnsoftware28-Apr-06 17:44
vnsoftware28-Apr-06 17:44 
QuestionFOP Table Alignment Pin
Support12328-Apr-06 4:34
Support12328-Apr-06 4:34 
AnswerPS Pin
Support12328-Apr-06 4:35
Support12328-Apr-06 4:35 
Questionhow to write this XPath expression? Pin
alaa2227-Apr-06 7:25
alaa2227-Apr-06 7:25 
AnswerRe: how to write this XPath expression? Pin
rdxMatrix27-Apr-06 7:58
rdxMatrix27-Apr-06 7:58 
AnswerRe: how to write this XPath expression? Pin
Stuart Dootson27-Apr-06 9:45
professionalStuart Dootson27-Apr-06 9:45 
AnswerRe: how to write this XPath expression? Pin
Graham Nimbley27-Apr-06 15:33
Graham Nimbley27-Apr-06 15:33 
GeneralRe: how to write this XPath expression? Pin
alaa2227-Apr-06 23:42
alaa2227-Apr-06 23:42 
GeneralRe: how to write this XPath expression? Pin
George L. Jackson28-Apr-06 17:36
George L. Jackson28-Apr-06 17:36 
GeneralRe: how to write this XPath expression? Pin
Graham Nimbley2-May-06 2:47
Graham Nimbley2-May-06 2:47 
Questionhtml access to different stylesheets of the same xml file Pin
User 58261925-Apr-06 23:04
User 58261925-Apr-06 23:04 
QuestionXSD Restrictions help please Pin
cechode25-Apr-06 5:20
cechode25-Apr-06 5:20 
AnswerRe: XSD Restrictions help please Pin
Stuart Dootson25-Apr-06 7:35
professionalStuart Dootson25-Apr-06 7:35 
GeneralRe: XSD Restrictions help please Pin
cechode25-Apr-06 8:00
cechode25-Apr-06 8:00 
GeneralRe: XSD Restrictions help please Pin
Stuart Dootson25-Apr-06 11:55
professionalStuart Dootson25-Apr-06 11:55 
Questionimport xml in sql server 2005 Pin
Susuko24-Apr-06 13:50
Susuko24-Apr-06 13:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.