MSXML6 SP1 broke my SAXWriter

I upgraded my application from MSXML4 to MSXML6, and everything was working 
fine. My project uses MXXMLWriter60, SAXContentHandler and XMLSchemaCache60, 
etc.

Then I installed MSXML6 sp1. The XML document generated from my application 
has two problems:

1. "????" marks appears inside XML in various places, likely at the end of 
the stream buffer (?)
2. The first block of attributes are always added properly. Then the second 
block of attributes contain the attributes from the previous element.

Here is an example of before and after:

Good XML with MSXML6:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?><COOL 
xmlns="http://www.mycompany.com/60" version="6.0">	<Export 
dbtype="relational" version="10.0.0.0">		<Response 
result="succeed"/>	</Export></COOL>

Bad XML with MSXML6 SP1:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?><COOL 
xmlns="http://www.mycompany.com/60" version="6.0">	<Export 
dbtype="relational" version="10.0.0.0">		<Response 
result="succeed"/>	</Export></COOL> ??????????? ???????????? 
????????????????????? ?????????? ? ? ? ??????????????? 
??????????????????????????????????????? ? ? ??????????????? 
????????????????????????????????????????????????????????????????????????????????????
</COOL>OOL>L>>>

Here is another example with attribute problem:
Bad XML with MSXML6 sp1:
<FlatDim name="Year" loaded="Y" 
code="Y">						<Member>							<AttributeList/>							<PropertyList>								<Property 
propattr_name="Name" element_name="MemName" required="Y"/>								<Property 
propattr_name="Description" element_name="MemDescription" 
required="N"/>								<Property propattr_name="Id" element_name="MemID" 
required="N"/>							</PropertyList>						</Member>					</FlatDim>					<FlatDim 
name="RateSet" loaded="Y" 
code="E">						<Member>							<AttributeList/>							<PropertyList>								<Property 
propattr_name="Name" element_name="MemName" required="Y"/>								<Property 
propattr_name="Description" element_name="MemDescription" 
required="N"/>								<Property propattr_name="Id" element_name="MemID" 
required="N"/>							</PropertyList>						</Member>					</FlatDim>					<FlatDim 
name="Currency" loaded="Y" 
code="C">						<Member>							<AttributeList>								<Attribute 
propattr_name="Translation Type" element_name="TranslationType" required="N" 
xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
name="M" description="Multiply" order_num="1"/>										<Value name="D" 
description="Divide" 
order_num="2"/>									</ValueList>								</Attribute>								<Attribute 
propattr_name="Precision" element_name="Precision" required="N" 
xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
name="0" description="Decimal Precision 0" order_num="1"/>										<Value 
name="1" description="Decimal Precision 1" order_num="2"/>										<Value 
name="2" description="Decimal Precision 2" order_num="3"/>										<Value 
name="3" description="Decimal Precision 3" order_num="4"/>										<Value 
name="4" description="Decimal Precision 4" order_n 
required="N"/>							</PropertyList>						</Member>					</FlatDim>					<FlatDim 
name="Currency" loaded="Y" 
code="C">						<Member>							<AttributeList>								<Attribute 
propattr_name="Translation Type" element_name="TranslationType" required="N" 
xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
name="M" description="Multiply" order_num="1"/>										<Value name="D" 
description="Divide" 
order_num="2"/>									</ValueList>								</Attribute>								<Attribute 
propattr_name="Precision" element_name="Precision" required="N" 
xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
name="0" description="Decimal Precision 0" order_num="1"/>										<Value 
name="1" description="Decimal Precision 1" order_num="2"/>										<Value 
name="2" description="Decimal Precision 2" order_num="3"/>										<Value 
name="3" description="Decimal Precision 3" order_num="4"/>										<Value 
name="4" description="Decimal Precision 4" order_nttribute 
propattr_name="Precision" element_name="Precision" required="N" 
xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
name="0" description="Decimal Precision 0" order_num="1"/>										<Value 
name="1" description="Decimal Precision 1" order_num="2"/>										<Value 
name="2" description="Decimal Precision 2" order_num="3"/>										<Value 
name="3" description="Decimal Precision 3" order_num="4"/>										<Value 
name="4" description="Decimal Precision 4" order_nl Precision 1" 
order_num="2"/>										<Value name="2" description="Decimal Precision 2" 
order_num="3"/>										<Value name="3" description="Decimal Precision 3" 
order_num="4"/>										<Value name="4" description="Decimal Precision 4" 
order_n??????? ???????????????????? ????????? ?? 
????????????????????????????????? ???????? ???????????????????? ????????? ?? 
??????????????????? ???????? ???????????????????? ????????? ?? 
???????on="Decimal Precision 4" order_nision 4" order_n 
order_ner_n_nnum="5"/> ...



0
Hong (17)
7/17/2007 4:12:02 PM
dotnet.xml 7266 articles. 0 followers. Follow

1 Replies
675 Views

Similar Articles

[PageSpeed] 37

Hi, it's me back. I posted the issue below.

I would like to get some pointers as where to look to troubleshoot this 
issue. It's easy to tell that the outputed XML document is so messed up using 
MSXML6 sp1. There must be someone in the XML team that knows where to look in 
my project.

Any help??


"hong" wrote:

> I upgraded my application from MSXML4 to MSXML6, and everything was working 
> fine. My project uses MXXMLWriter60, SAXContentHandler and XMLSchemaCache60, 
> etc.
> 
> Then I installed MSXML6 sp1. The XML document generated from my application 
> has two problems:
> 
> 1. "????" marks appears inside XML in various places, likely at the end of 
> the stream buffer (?)
> 2. The first block of attributes are always added properly. Then the second 
> block of attributes contain the attributes from the previous element.
> 
> Here is an example of before and after:
> 
> Good XML with MSXML6:
> <?xml version="1.0" encoding="UTF-16" standalone="yes"?><COOL 
> xmlns="http://www.mycompany.com/60" version="6.0">	<Export 
> dbtype="relational" version="10.0.0.0">		<Response 
> result="succeed"/>	</Export></COOL>
> 
> Bad XML with MSXML6 SP1:
> <?xml version="1.0" encoding="UTF-16" standalone="yes"?><COOL 
> xmlns="http://www.mycompany.com/60" version="6.0">	<Export 
> dbtype="relational" version="10.0.0.0">		<Response 
> result="succeed"/>	</Export></COOL> ??????????? ???????????? 
> ????????????????????? ?????????? ? ? ? ??????????????? 
> ??????????????????????????????????????? ? ? ??????????????? 
> ????????????????????????????????????????????????????????????????????????????????????
> </COOL>OOL>L>>>
> 
> Here is another example with attribute problem:
> Bad XML with MSXML6 sp1:
> <FlatDim name="Year" loaded="Y" 
> code="Y">						<Member>							<AttributeList/>							<PropertyList>								<Property 
> propattr_name="Name" element_name="MemName" required="Y"/>								<Property 
> propattr_name="Description" element_name="MemDescription" 
> required="N"/>								<Property propattr_name="Id" element_name="MemID" 
> required="N"/>							</PropertyList>						</Member>					</FlatDim>					<FlatDim 
> name="RateSet" loaded="Y" 
> code="E">						<Member>							<AttributeList/>							<PropertyList>								<Property 
> propattr_name="Name" element_name="MemName" required="Y"/>								<Property 
> propattr_name="Description" element_name="MemDescription" 
> required="N"/>								<Property propattr_name="Id" element_name="MemID" 
> required="N"/>							</PropertyList>						</Member>					</FlatDim>					<FlatDim 
> name="Currency" loaded="Y" 
> code="C">						<Member>							<AttributeList>								<Attribute 
> propattr_name="Translation Type" element_name="TranslationType" required="N" 
> xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
> name="M" description="Multiply" order_num="1"/>										<Value name="D" 
> description="Divide" 
> order_num="2"/>									</ValueList>								</Attribute>								<Attribute 
> propattr_name="Precision" element_name="Precision" required="N" 
> xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
> name="0" description="Decimal Precision 0" order_num="1"/>										<Value 
> name="1" description="Decimal Precision 1" order_num="2"/>										<Value 
> name="2" description="Decimal Precision 2" order_num="3"/>										<Value 
> name="3" description="Decimal Precision 3" order_num="4"/>										<Value 
> name="4" description="Decimal Precision 4" order_n 
> required="N"/>							</PropertyList>						</Member>					</FlatDim>					<FlatDim 
> name="Currency" loaded="Y" 
> code="C">						<Member>							<AttributeList>								<Attribute 
> propattr_name="Translation Type" element_name="TranslationType" required="N" 
> xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
> name="M" description="Multiply" order_num="1"/>										<Value name="D" 
> description="Divide" 
> order_num="2"/>									</ValueList>								</Attribute>								<Attribute 
> propattr_name="Precision" element_name="Precision" required="N" 
> xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
> name="0" description="Decimal Precision 0" order_num="1"/>										<Value 
> name="1" description="Decimal Precision 1" order_num="2"/>										<Value 
> name="2" description="Decimal Precision 2" order_num="3"/>										<Value 
> name="3" description="Decimal Precision 3" order_num="4"/>										<Value 
> name="4" description="Decimal Precision 4" order_nttribute 
> propattr_name="Precision" element_name="Precision" required="N" 
> xml_attr_type="M" displayable="Y">									<ValueList>										<Value 
> name="0" description="Decimal Precision 0" order_num="1"/>										<Value 
> name="1" description="Decimal Precision 1" order_num="2"/>										<Value 
> name="2" description="Decimal Precision 2" order_num="3"/>										<Value 
> name="3" description="Decimal Precision 3" order_num="4"/>										<Value 
> name="4" description="Decimal Precision 4" order_nl Precision 1" 
> order_num="2"/>										<Value name="2" description="Decimal Precision 2" 
> order_num="3"/>										<Value name="3" description="Decimal Precision 3" 
> order_num="4"/>										<Value name="4" description="Decimal Precision 4" 
> order_n??????? ???????????????????? ????????? ?? 
> ????????????????????????????????? ???????? ???????????????????? ????????? ?? 
> ??????????????????? ???????? ???????????????????? ????????? ?? 
> ???????on="Decimal Precision 4" order_nision 4" order_n 
> order_ner_n_nnum="5"/> ...
> 
> 
> 
0
Hong (17)
7/18/2007 1:46:01 AM
Reply:

Similar Artilces:

MSXML6
Hey, I was looking at the MS tool VersionCheck and it indicated that I did not have MSXML6. My searching for this file has been fruitless. The only place that I could find it was on a site that required Paypal to download (Checked source code of web page prior to submitting). I do not believe that this is the case for the XML parsers from microsoft. If someone could enlighten me I would appreciate it. Thanx A Plan without Action is a DayDream Action without a Plan is a Nightmare The latest version of the MS XML parser is 4 (SP2), and is now called the "XML Core Services"....

Installation of SP1 (12.1.0) not working
Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel Hi everyone, There's a similar post here already, but I couldn't post there for some reason. When I try to install the 12.1.0 Update, it gets stuck at Running AutoUpdate Installer script. Someone mentioned in that other thread that there was message box behind the installer and you had to press OK to continue. I don't have that message box anywhere and I don't know what to do. I am logged in as the admin as well. Thanks for any help! On 7/21/09 4:51 PM, in article 59b788f7.-1@webcrossing.caR9absDaxw,...

SP1, Vista, upgrade loop
I keep having the update problem described here: http://support.microsoft.com/kb/927811/en-us I don't understand this step in the fix: 12. In the Windows Explorer bar, click Compatibility Files to open the VirtualStore files window for Money 2007. What is the Windows Explorer bar? Is that the address bar? I don't see anything anywhere called "Compatibility Files" and if I did, how would single-clicking it open the "VirtualStore"? I can't sign on to online services since this update problem started. ...

IE8 Compatibility Thangy, KB982632, All Broke Won't Go
Note that amongst several updates from Microsoft Updates website this is the one that's obstreperous... One update went fine prior, and one went fine after; but, this won't go either from the website or from the direct download. Also note that the error message given for its failure to install is inappropriate for the situation; thus the KB [below] keyed to the error message [below] is not responsive. We can set aside that I did anything radical like install/uninstall/system-failures/malware-infections, etc., due to the fact that Microsoft Update is working just fine. Th...

OneNote 2007 Password Lock Timer Broke
The password timer seems to have stopped working. I can still lock password protected Sections with Lock All. I can set OneNote to have a Sectionl lock when navigating away from the section and it does so. In the Tools/Options/Passwords menu I have tried checking and unchecking "Lock password protected sections after I have not worked in them for the following amount of time:" and set the timer for various amounts of time. Clicking OK and restarting OneNote each time. I have checked for updates and my install is current. I will appreciate any ideas about how to get ...

I broke my Default Address Book
I'm setting up multiple domain hosting on my Exchange 2003 server. I had everything almost 100% working then I manage to f*** my self up pretty good. I deleted all the permission out of the "Default Offline Address List" It dissappeared from System Manager. In shows up in ADSIEDIT but I can't do anything with it. I can't move it, delete it, or bring up properties. I tried making a new Offline Address List and setting it is as default and when it tries to build I get some errors about the Default Offline Address List. How do I restore the Default Offline Address...

Outlook 2003 RTM/SP1: What happens at midnight and why?
Like something out of "Dark City," at midnight, Outlook changes. If your Inbox is arranged by Groups, Outlook opens every single one of them for you. Why? It still happens in SP1, so it must be intentional. For what purpose? There's apparently a way to keep all the Groups collapsed, but I haven't tried that because I wouldn't want that. I have some open (the newer ones), some closed (the older ones), and I want them to stay that way until I say so. Too bad. ...

exchange 2003: to SP1 or not to SP1
that is my question. all seems to be running fine without SP1... should i install it or not? Yes, there is no reason not to go to SP1 -- Mark Fugatt <jjd228@NOSPAMoptonline.net> wrote in message news:793Vc.28894$vc4.12641612@news4.srv.hcvlny.cv.net... > that is my question. all seems to be running fine without SP1... should i > install it or not? > > ...

Exchange 2003 and SP1
Since upgrading Exchange 2003 to SP1, we've had nothing but problems with Exchange. Would like to roll-back without the SP1. Is this possible? Can I just insert the CD and reload or do I need to reload the server from scratch? Thanks, Wally "Benoit Boudeville" <BenoitBoudeville@discussions.microsoft.com> wrote in message news:<0614146D-072E-416B-B01A-1C1178456D82@microsoft.com>... > You have to reinstall Exchange using the RTM CD. > > Anyway what are your troubles with SP1 ? it's proven being stable in most situations and maybe your problem is not...

Single Instance 1047, 1003 errors during Exchange 2003 SP1 upgrade
CWe have recently upgraded one of our Exchange 2003 servers to SP1. The server is running Windows 2000 SP4. During the upgrade the server flagged up SINGLE instances of the two errors below, can anyone shed any light into why this has happened? Is it a well known issue with upgrading a W2K server rather than W23K? IISInfoCtrs error 1003: Unable to query the IIS Info service performance data. The error code returned by the service is data DWORD 0. MSExchangeMU error 1047: Metabase Update failed to properly initialize its context. It will retry initialization every 60 seconds until succee...

MSXML6 SP1 broke my SAXWriter
I upgraded my application from MSXML4 to MSXML6, and everything was working fine. My project uses MXXMLWriter60, SAXContentHandler and XMLSchemaCache60, etc. Then I installed MSXML6 sp1. The XML document generated from my application has two problems: 1. "????" marks appears inside XML in various places, likely at the end of the stream buffer (?) 2. The first block of attributes are always added properly. Then the second block of attributes contain the attributes from the previous element. Here is an example of before and after: Good XML with MSXML6: <?xml version="1...

.NET framework 3.5 SP1
On my pre-installed windows 7, 64bits home premium I can see .NET Framework 3.5 in the "program files" in folder Microsoft.Net ,there are the versions v1,v2, v3.0 and v3.5. How can I find out that .NET framework 3.5 sp1 is applied? And if I just apply this download servicepack, will it screwup OSsystem? __________ Informatie van ESET NOD32 Antivirus, versie van database viruskenmerken 4723 (20091228) __________ Het bericht is gecontroleerd door ESET NOD32 Antivirus. http://www.eset.com If Windows Update wants to install it, you don't have it. ;)...

sp1
Can anyone who has recently installed sp1 for exchange server 2003 share their experience....i.e. any negatives, any install problems,install tips etc.... Thanks in advance, Sally I just did it yesterday. I made a ghost image of the entire server and had a recent info. store backup before I started. It would not let me run SP1 until I applied a MS hotfix. It told me what it was and I downloaded it and installed it. I had my doubts, but it worked fine. I then rebooted and shut down all the exchange services and then ran SP1. I had no problems at all and now my relaying problem wen...

Exchange 2003 on SBS Premium SP1 Fatal Error
Hi everyone, I am trying to install Exchange 2003 SP1 on our SBS 2003 Premium server and am getting a Fatal Error. The message is "A fatal setup error has occurred. Look at eventlog.txt for more information. Canceling setup." When I look at the eventlog.txt file the error seems to be about "ModuleID not found in map". Does anyone have any idea what this is about? I apologize if this has already been asked and answered. I did several searches but could not find anything. I want to thank everyone in advance! > Does anyone have any idea what this is about? m...

OWA logon after SP1 Exchange 2003 and IIS 5.0
hi i can't edit the properties ans permissions to resolve owa logon problem after installing sp1 for exchange 2003 the server is exchange 2003 on a windows 2000 server and IIS 5.0 ; so i can't specify default domainname on IIS 5.0 Is there any solve or anything to do ...

SP1
I'm currently downloading SP1 for the Microsoft Office Suite 2007. Does anyone know if this addresses the issues of Excel 2007--slowness--hangups, etc. I haven't heard any reports of much improved performance. -- Jim "Paul" <Msr33@TPx12.com> wrote in message news:niem14h3v83c7kl2gfnpptjsdc2v08mo5f@4ax.com... | I'm currently downloading SP1 for the Microsoft Office Suite 2007. | Does anyone know if this addresses the issues of Excel | 2007--slowness--hangups, etc. | | ...

Win2003 SP1
I am planning to install Win2003 SP1 on my Exchange2003 servers BE and FE. Are there any known issues ..currently running Exchange 2003 with SP1 and want to install Windows 2003 SP1 now? Advise please. Thanks, On Mon, 17 Jul 2006 12:04:02 -0700, WILDPACKET <WILDPACKET@discussions.microsoft.com> wrote: >I am planning to install Win2003 SP1 on my Exchange2003 servers BE and FE. > >Are there any known issues ..currently running Exchange 2003 with SP1 and >want to install Windows 2003 SP1 now? > >Advise please. > >Thanks, There are no problems. What about the ...

I broke the code and got 50,000 bucks
!!!!$$$$$$ EASY MONEY, AND IT REALLY WORKS!!!!!!, TRY IT AND YOU’LL BE HAPPY!!!!! :0) $$$Take five minutes to read this and it WILL change your life.$$$ I finally decided to read one of these articles in an internet newsgroup describing how to make $50,000.00 in only one month from a $5.00 investment. Of course I thought this was ridiculous ,or some type of pyramid. I talked it over with my family, an attorney, and my friends, and they all agreed it was some sort of scam. I hate scams because usually someone gets burned, and I didn't want it to be me! I blew it off for a few wee...

Visio 2003 sp1 diagram saved as SVG document
Hi, I need to save diagrams as SVG-documents. When I save the diagram, the size of the SVG-document will be much larger than the actual diagram, meaning that I get a lot of white-space around the diagram, when I in turn use it on a web-page. What can I do to save only what is in the diagram, and nothing else? Cheers, Stigur Since SVG is a vector format, this is only a problem of zoom, not output resolution or anything bitmap-ish. I think this kind of depends on the SVG plug-in you're using in your browser. Perhaps there are some arguments or switches that can be passed in with th...

GP 10 SP1
does anyone if the problem still exists trying to upgrade security from GP9 I have just installed v10 on a test server, and every time I run utilities to upgrade the databases, it crashes when I select yes to upgrade the security and specify the location of a v9 dynamics.set file. I have both upgrading a previous v9 install with the default file locations and also a new install with a location with spaces in the target, i.e c:\dynamics as the install folder. Hits -- On Nov 19, 9:37 pm, "Hitesh Varsani" <hitesh.vars...@daxten.com> wrote: > does anyone if the problem st...

offline sources in DPM 2007 SP1 ver 2.0.8851.0
I'm looking for some help troubleshooting an issue when backing up my Exchange databases where the error I get is "The operation failed for Storage group on exchange server because the data source is not available. ID 30169 Details: Unknown error Then the alert goes on to tell me to verify that the data source is online, is not in a restoring state...etc. I'm at a lost to believe that one of my exchange databases is offline because we have plenty of other monitors that would be letting us know. How do I go about troubleshooting this? Is there a latency issue...

Trouble installing SP1
Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: intel When I try to install the SP1 update, I get as far as the installer, and then when it comes to select my HD to install, it comes up with this message: You cannot install Office 2008 SP1 Update (12.1.0) on this volume. A version of the software required to install this update was not found on this volume. Why is this? I did install Office onto my HD! I'm a new Mac user so bear with me if I'm making a terrible newbie mistake! "Jayby86@officeformac.com" wrote: > When I try to install the SP1 update...

Limited Access to Public Folder after Win2003 SP1 install...
All, We have finally decided to install Windows 2003 on our Exchange server; we already have Exchange 2003 SP2 installed on all servers (2 front-ends and 3 back-ends). I installed Win2003 SP1 on the two FE without incident. I then installed SP1 on one BE. The result: unable to access public folders (using Exchange System Manager) on any Exchange server other than the BE; users with mailboxes on the BE were unable to get into Outlook; users with mailboxes on the other two BE’s can log into Outlook, but could not access Public Folders, either through the Outlook interface or OWA. Nee...

crm 3.0 installation fails on sbs 2003 sp1 with sql 2000
i am trying to install crm 3.0 on sbs2003 sp1 and sql 2000 sp4. it fails everytime on ms sql server - [dbnetlib][ConnectionOpen (Connect()).]SQL SERVER does not exist or access denied and also get a warning saying unable to verify sql server agent is running. alos get the same error for sql server reporting services - [dbnetlib][ConnectionOpen (Connect()).]SQL SERVER does not exist or access denied and also get a warning saying unable to verify sql server agent is running. everything else passed fine for the install. please help Have you already verified that all SQL-related services a...

Office SP1
I live in a rural area and I must load Office SP1 update but I cannot remain connected to download the entire file. Is it available in CD form from anyone? I have tried download 3 x each time it fails after 2 or 3 hours and all is lost. Any help would be appreciated Download the standalone client installer (18MB) and use a download manager with a resume function so you can continue where you left of on disconnect. http://www.microsoft.com/downloads/details.aspx?FamilyId=9C51D3A6-7CB1-4F61-837E-5F938254FC47&displaylang=en -- Robert Sparnaaij [MVP-Outlook] www.howto-outlook.com ...