[Bug 246] New: DOM2XmlPullBuilder not handling default namespaces
[email protected] Mon, 23 Oct 2006 00:24:15 -0400 (EDT)
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
http://www.extreme.indiana.edu/bugzilla/show_bug.cgi?id=246
Summary: DOM2XmlPullBuilder not handling default namespaces
Product: XmlPull.org
Version: 1.1.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Design
AssignedTo: [email protected]
ReportedBy: [email protected]
I'm looking into the DOM2XmlPullBuilder class and I get a NullPointerException
when attempting to parse the following file:
<?xml version="1.0" encoding="UTF-8"?>
<ServerConfiguration xmlns=" http://your-namespace-here"
xmlns:xsi="http://www.w3.org/2001/XMLSchem a-instance" xsi:schemaLocation="
http://your-namespace-here test.xsd">
<Server>savage-m60</Server>
</ServerConfiguration>
Although I can successfully parse the following:
<?xml version="1.0" encoding="UTF-8"?>
<jtc:ServerConfiguration xmlns:jtc="http://your-namespace-here"
xmlns:xsi="http://www.w3.org/2001/XMLSchem a-instance "
xsi:schemaLocation="http://your-namespace-here test.xsd">
<jtc:Server>savage-m60</jtc
:Server>
</jtc:ServerConfiguration>
Is there something wrong with the first form of this instance document?
Respectfully,
Fred Burkley
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xmlpull-dev/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/xmlpull-dev/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/