Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e9d34b7f
Commit
e9d34b7f
authored
Aug 03, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add ISAXContentHandler_startPrefixMapping event.
parent
7be136bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
saxreader.c
dlls/msxml3/saxreader.c
+27
-1
No files found.
dlls/msxml3/saxreader.c
View file @
e9d34b7f
...
@@ -919,15 +919,41 @@ static void libxmlStartElementNS(
...
@@ -919,15 +919,41 @@ static void libxmlStartElementNS(
int
nb_defaulted
,
int
nb_defaulted
,
const
xmlChar
**
attributes
)
const
xmlChar
**
attributes
)
{
{
BSTR
NamespaceUri
,
LocalName
,
QName
;
BSTR
NamespaceUri
,
LocalName
,
QName
,
Prefix
,
Uri
;
saxlocator
*
This
=
ctx
;
saxlocator
*
This
=
ctx
;
HRESULT
hr
;
HRESULT
hr
;
saxattributes
*
attr
;
saxattributes
*
attr
;
int
index
;
update_position
(
This
,
(
xmlChar
*
)
This
->
pParserCtxt
->
input
->
cur
+
1
);
update_position
(
This
,
(
xmlChar
*
)
This
->
pParserCtxt
->
input
->
cur
+
1
);
if
(
This
->
saxreader
->
contentHandler
)
if
(
This
->
saxreader
->
contentHandler
)
{
{
for
(
index
=
0
;
index
<
nb_namespaces
;
index
++
)
{
Prefix
=
bstr_from_xmlChar
(
namespaces
[
2
*
index
]);
Uri
=
bstr_from_xmlChar
(
namespaces
[
2
*
index
+
1
]);
if
(
This
->
vbInterface
)
hr
=
IVBSAXContentHandler_startPrefixMapping
(
This
->
saxreader
->
vbcontentHandler
,
&
Prefix
,
&
Uri
);
else
hr
=
ISAXContentHandler_startPrefixMapping
(
This
->
saxreader
->
contentHandler
,
Prefix
,
SysStringLen
(
Prefix
),
Uri
,
SysStringLen
(
Uri
));
SysFreeString
(
Prefix
);
SysFreeString
(
Uri
);
if
(
hr
!=
S_OK
)
{
format_error_message_from_id
(
This
,
hr
);
return
;
}
}
NamespaceUri
=
bstr_from_xmlChar
(
URI
);
NamespaceUri
=
bstr_from_xmlChar
(
URI
);
LocalName
=
bstr_from_xmlChar
(
localname
);
LocalName
=
bstr_from_xmlChar
(
localname
);
QName
=
QName_from_xmlChar
(
prefix
,
localname
);
QName
=
QName_from_xmlChar
(
prefix
,
localname
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment