[Bug 30313] New: Microsoft Office Communicator 2007 R2 Trial requires ISAXXMLReader feature "namespace-prefixes"

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 30 18:03:12 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30313

             Bug #: 30313
           Summary: Microsoft Office Communicator 2007 R2 Trial requires
                    ISAXXMLReader feature "namespace-prefixes"
           Product: Wine
           Version: 1.5.1
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: msxml3
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello,

Microsoft Office Communicator 2007 R2 Trial fails due to missing support for 
ISAXXMLReader feature "namespace-prefixes"

Prerequisite:

Set WinVer to >= Windows Vista for installation due to MSXML6 (SP1)
requirement.

Running the app after installation exhibits an error message about trial being
already expired (most likely time bombed).
Just add any 23-digit number as product key to prevent this, e.g.:

(one liner):

--- snip ---
$ wine reg add "HKLM\\Software\\Microsoft\\Communicator\\3.5\\Registration" /v
"ProductID" /t "REG_SZ" /d "01234567890123456789012" 
--- snip ---

Relevant trace log:

--- snip ---
...
0024:trace:msxml:DOMClassFactory_CreateInstance (nil)
{a4f96ed0-f829-476e-81c0-cdc7bd2a0802} 0x32fba4
0024:trace:msxml:SAXXMLReader_create ((nil), 0x32fa3c)
0024:Call ntdll.RtlAllocateHeap(00110000,00000000,000000d4) ret=7d55a751
0024:Ret  ntdll.RtlAllocateHeap() retval=00158948 ret=7d55a751
0024:trace:msxml:SAXXMLReader_create returning iface 0x158958
0024:trace:msxml:saxxmlreader_QueryInterface 0x158948
{a4f96ed0-f829-476e-81c0-cdc7bd2a0802} 0x32fba4
0024:trace:msxml:saxxmlreader_AddRef 0x158948
0024:trace:msxml:saxxmlreader_Release 0x158948
0024:trace:msxml:DOMClassFactory_Release (0x158648) ref = 0 
...
0024:trace:msxml:internal_putContentHandler (0x158948)->(0x157c2c) 
...
0024:trace:msxml:internal_putErrorHandler (0x158948)->(0x157c3c)
...
0024:trace:msxml:saxxmlreader_putFeature
(0x158948)->(L"http://xml.org/sax/features/namespace-prefixes" 1)
0024:fixme:msxml:saxxmlreader_putFeature
(0x158948)->(L"http://xml.org/sax/features/namespace-prefixes" 1) stub
...
0024:trace:msxml:saxxmlreader_Release 0x158948 
...
0024:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032fb64)
ret=7ed01d61
0024:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b839357
ip=7b839357 tid=0024
0024:trace:seh:raise_exception  info[0]=19930520
0024:trace:seh:raise_exception  info[1]=0032fc2b
0024:trace:seh:raise_exception  info[2]=22290a60
0024:trace:seh:raise_exception  eax=7b826381 ebx=7b8aa708 ecx=19930520
edx=0032fa84 esi=0032fb60 edi=0032fae0
0024:trace:seh:raise_exception  ebp=0032fac8 esp=0032fa64 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
0024:trace:seh:call_stack_handlers calling handler at 0x22243a3a code=e06d7363
flags=1
0024:trace:seh:cxx_frame_handler handling C++ exception rec 0x32fa70 frame
0x32fc34 trylevel 0 descr 0x22290abc nested_frame (nil)
0024:trace:seh:dump_exception_type flags 0 destr (nil) handler (nil) type info
0x22290a70
0024:trace:seh:dump_exception_type     0: flags 0 type 0x222e80f8
{vtable=0x21c844dc name=.?AVCApplicationLayerException@@ ()} offsets 0,-1,0
size 1 copy ctor 0x21ec959f
0024:trace:seh:dump_exception_type     1: flags 0 type 0x222e721c
{vtable=0x21c844dc name=.?AVCNonFatalException@@ ()} offsets 0,-1,0 size 1 copy
ctor 0x21ec959f
0024:trace:seh:dump_function_descr magic 19930522
0024:trace:seh:dump_function_descr unwind table: 0x22290a98 2
0024:trace:seh:dump_function_descr     0: prev -1 func (nil)
0024:trace:seh:dump_function_descr     1: prev -1 func (nil)
0024:trace:seh:dump_function_descr try table: 0x22290aa8 1
0024:trace:seh:dump_function_descr     0: start 0 end 0 catchlevel 1 catch
0x22290ae0 4
0024:trace:seh:dump_function_descr         0: flags 9 offset -40 handler
0x21ea46f7 type 0x222e80f8 {vtable=0x21c844dc
name=.?AVCApplicationLayerException@@ ()}
0024:trace:seh:dump_function_descr         1: flags 9 offset -32 handler
0x21ea4727 type 0x222e721c {vtable=0x21c844dc name=.?AVCNonFatalException@@ ()}
0024:trace:seh:dump_function_descr         2: flags 9 offset -36 handler
0x21ea4742 type 0x222e7240 {vtable=0x21c844dc name=.?AVCFatalException@@ ()}
0024:trace:seh:dump_function_descr         3: flags 40 offset 0 handler
0x21ea4756 type (nil) {} 
...
0024:Call user32.DestroyWindow(0001007a) ret=22107cb7 
--- snip ---

Debugger:

--- snip ---
Backtrace:
=>0 0x7d524247 saxxmlreader_putFeature(iface=0x137b20,
feature="http://xml.org/sax/features/namespace-prefixes", value=0x6f00)
[/home/focht/projects/wine/wine-git/dlls/msxml3/saxreader.c:2762] in msxml3
(0x0033fb64)
  1 0x21fbefbd in ocapi (+0x33efbc) (0x0033fba8)
  2 0x21fbf1c1 in ocapi (+0x33f1c0) (0x0033fbc0)
  3 0x21fbf330 in ocapi (+0x33f32f) (0x0033fbe0)
  4 0x21fbf4a0 in ocapi (+0x33f49f) (0x0033fc00)
  5 0x21ea4619 in ocapi (+0x224618) (0x0033fc40)
  6 0x0040b4b6 in communicator (+0xb4b5) (0x0033fcbc)
...
--- snip ---

MSDN: http://msdn.microsoft.com/en-us/library/aa923298.aspx

--- quote ---
"http://xml.org/sax/features/namespace-prefixes"

    True
    Report the original prefixed names and attributes used for namespace
declarations in the QNames (qualified names) field.
    False
    Do not report attributes used for namespace declarations and, optionally,
do not report original prefixed names.
    Access
    Read-only for parsing; read/write when not parsing. 
...
The values for the namespaces and namespace-prefixes features may be available
only in a specific context, such as before, during, or after a parse.
--- quote ---

Source:
http://source.winehq.org/git/wine.git/blob/2cbd6a63dfb39052cd454ed3d67483885390ddaf:/dlls/msxml3/saxreader.c#l2758

--- snip ---
2758 static HRESULT WINAPI saxxmlreader_putFeature(
2759     IVBSAXXMLReader* iface,
2760     const WCHAR *feature,
2761     VARIANT_BOOL value)
2762 {
2763     saxreader *This = impl_from_IVBSAXXMLReader( iface );
2764 
2765     TRACE("(%p)->(%s %x)\n", This, debugstr_w(feature), value);
2766 
2767     if (!strcmpW(FeatureExternalGeneralEntitiesW, feature) && value ==
VARIANT_FALSE)
2768         return set_feature_value(This, ExternalGeneralEntities, value);
2769 
2770     if (!strcmpW(FeatureExternalParameterEntitiesW, feature) && value ==
VARIANT_FALSE)
2771         return set_feature_value(This, ExternalParameterEntities, value);
2772 
2773     if (!strcmpW(FeatureLexicalHandlerParEntitiesW, feature))
2774     {
2775         FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
2776         return set_feature_value(This, LexicalHandlerParEntities, value);
2777     }
2778 
2779     if (!strcmpW(FeatureProhibitDTDW, feature))
2780     {
2781         FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
2782         return set_feature_value(This, ProhibitDTD, value);
2783     }
2784 
2785     if (!strcmpW(FeatureNamespacesW, feature) && value == VARIANT_TRUE)
2786         return set_feature_value(This, Namespaces, value);
2787 
2788     FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
2789     return E_NOTIMPL;
2790 }
--- snip ---

'winetricks msxml6' works around and allows to run the app further (into next
bug).

There is already bug 12452 which covered some ISAXXMLReader feature sets but it
has been abandoned as it seems.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list