You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Alexandr Klimov <my...@yandex.ru> on 2014/01/11 15:33:46 UTC
What is SystemId of an XmlSchema?
Hello all!
Could anybody tell me, what is a SystemId of a XmlSchema? What for is it?
P.S.: I've always thought that any schema is uniquely identified by its namespace.
--
//Best regards
//Alexandr
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
Re: What is SystemId of an XmlSchema?
Posted by Daniel Kulp <dk...@apache.org>.
On Jan 11, 2014, at 9:33 AM, Alexandr Klimov <my...@yandex.ru> wrote:
> Hello all!
>
> Could anybody tell me, what is a SystemId of a XmlSchema? What for is it?
The system ID is generally where the schema was found on that system. This is important if you have to resolve relative imports/includes as you need to know the location of the parent schema.
Dan
>
> P.S.: I've always thought that any schema is uniquely identified by its namespace.
>
> --
> //Best regards
> //Alexandr
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: dev-help@ws.apache.org
>
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
RE: What is SystemId of an XmlSchema?
Posted by Martin Gainty <mg...@hotmail.com>.
Most webService parsers were weaned off DTDs years ago (THANK GOD!) so the SystemID is a no-op
AXIS_HOME>grep -r SYSTEM *.dtd
AXIS_HOME>find . -name *.dtd
I found woden DTD org.apache.woden.schema.resolver.XMLSchema.dtd (next to the lamp with listening device)
<!ATTLIST %notation;
name %NCName; #REQUIRED
id ID #IMPLIED
public CDATA #REQUIRED
system %URIref; #IMPLIED
%notationAttrs;>
to understand the value of SYSTEM attribute in a dtd I will quote wikipedia:
"If, instead, the SYSTEM (attribute) keyword is chosen, only a system identifier must
be given. It means that the XML parser must locate the DTD in a system
specific fashion, in this case, by means of a URI reference of the DTD
enclosed in double quote marks"
http://en.wikipedia.org/wiki/Document_type_declaration
Viel Gluck!
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> From: my-ava@yandex.ru
> To: dev@ws.apache.org
> Subject: What is SystemId of an XmlSchema?
> Date: Sat, 11 Jan 2014 18:33:46 +0400
>
> Hello all!
>
> Could anybody tell me, what is a SystemId of a XmlSchema? What for is it?
>
> P.S.: I've always thought that any schema is uniquely identified by its namespace.
>
> --
> //Best regards
> //Alexandr
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: dev-help@ws.apache.org
>