XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML Schema: "Best used with the ______ tool"

Hi Michael,

Michael Kay <mike@saxonica.com> writes:

> Yes, I'll be happy to run this. 25seconds for a simple search of 800Kb
> sounds very slow indeed. 

Well, it is 100 searches.


> One question though, it's not clear to me whether you are measuring 
> the time taken to load the XML, or only the time taken to query it.

Only the time it takes to query it (100 times). The XML document is
pre-loaded in both tests.


> My instinct would be to have the query return a sequence of nodes to
> the calling application, and have the calling application extract the
> attributes that it wants from those nodes.

That sounds fair. I just did what seemed easiest with the API I had.
If you think that returning something like DOM nodes would be better,
then I see no problem with it since that would result in the equivalent
functionality that is probably also less complex.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS