[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE: error when parsing an xml-schema with Jaxp and DOM
- From: Michael Brennan <Michael_Brennan@A...>
- To: "'I.Eck'" <post@i...>, xml-dev@l...
- Date: Thu, 26 Apr 2001 17:48:34 -0700
There's no such thing as a "standard prefix". Make sure
you are including proper namespace declarations to associate your prefixes with
the appropriate namespaces.
If you
are using JAXP 1.1, it should support namespaces fine if they are declared
properly. Earlier versions of JAXP do not support namespaces (or at least they
don't through the public APIs).
I wanted to check whether my xml-scheam is
wellformed and tried to parse it with jaxp with standard parser and
DOM.
This error occurs:
Whitespace required before attributes.
Maybe the parser has problems with namespaces? I
used the standard prefix (xsd:schema..) and so on for the elements and set the
factory and the buildeer to nameSpaceAware.
Or do I need to use another parser, who is
namespace-aware, or is it a totally othr error...
Please help!!!!!
Maybe you can recommend me an other parser, which supports xml-schema
fully. But therefore I need a snippet of code on how to change the
parser
in jaxp. I read that I simply have to change a systemProperty, but I do
not have such a system property.
Thanks in advance
Inga
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|