avatar
P*x
2
Which XML parser are u using? For apache parser, you need to set the
external schema location in parser setup code.

【在 c***c 的大作中提到】
: I am new in XML and need some help.
: for example
: xml schema is
:
: http://www.w3.org/2001/XMLSchema"
: targetNamespace="http://www.demo.org"
: xmlns="http://www.demo.org"
: elementFormDefault="qualified">
:
:

avatar
c*c
3
Thank you for answering.
I do not use parser. Actually I do not have server. I just wrote xml file and
schema file. Then put them in the same folder.
OK I am new in XML and I am a little stupid. I just used XML to store data
(some servlet info) for JSP server. No schema and DTD
2 more questions. Please help
1. To use schema, do I need a server (or application like java, perl) to
handle it?
2. If no need server, how can I validate the schema (to check are there bugs
in schema)
If doesn't matte

【在 P*****x 的大作中提到】
: Which XML parser are u using? For apache parser, you need to set the
: external schema location in parser setup code.

avatar
P*x
4
I don't know if there is way to validate XML file against schema w/o parser.
If using parser is ok w/ ur situation, u can find a parser and reference
at apache.org
To check bugs in schema is easy, if you have visual studio .net, just
load it into ide.
I am not expert of XML either but I happen to mess w/ apache C++ parsers
a lot.

【在 c***c 的大作中提到】
: Thank you for answering.
: I do not use parser. Actually I do not have server. I just wrote xml file and
: schema file. Then put them in the same folder.
: OK I am new in XML and I am a little stupid. I just used XML to store data
: (some servlet info) for JSP server. No schema and DTD
: 2 more questions. Please help
: 1. To use schema, do I need a server (or application like java, perl) to
: handle it?
: 2. If no need server, how can I validate the schema (to check are there bugs
: in schema)

avatar
d*c
5
use Altova XMLSpy, home edition is free.

and
bugs

【在 P*****x 的大作中提到】
: I don't know if there is way to validate XML file against schema w/o parser.
: If using parser is ok w/ ur situation, u can find a parser and reference
: at apache.org
: To check bugs in schema is easy, if you have visual studio .net, just
: load it into ide.
: I am not expert of XML either but I happen to mess w/ apache C++ parsers
: a lot.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。