You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by nadav steindler <na...@gmail.com> on 2006/12/27 15:57:17 UTC

Fwd: Feature names

So the features are name things that look like
http://xml.org/sax/features/validation,
http://apache.org/xml/features/validation/schema
.

Does this mean that the parser makes an http request to the internet for to
get the feature whenever you parse!?

Re: Fwd: Feature names

Posted by Stanimir Stamenkov <st...@myrealbox.com>.
/Prashant/:

> I don't think so. The feature identification by URLs may be a convention 
> followed by SAX specification in creating a namespace for string like 
> "validation". However this convention is not unprecedented.
> 
> In XML world many namespaces (Schema ns declaration[1] for example) are 
> URLs that 404 in reality.

SAX feature and XML namespace identifiers are URIs, not just URLs. 
In this case they uniquely identify SAX features and XML namespaces 
and they don't specify a network location to access.  The thing SAX 
(and other frameworks) choose URI syntax for identifiers is URIs are 
meant to be unique world wide.

-- 
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: Fwd: Feature names

Posted by Prashant <pr...@pramati.com>.
I don't think so. The feature identification by URLs may be a convention 
followed by SAX specification in creating a namespace for string like 
"validation". However this convention is not unprecedented.

In XML world many namespaces (Schema ns declaration[1] for example) are 
URLs that 404 in reality.

-Prashant

[1] :http://www.w3.org/TR/REC-xml-names/#sec-namespaces

nadav steindler wrote:
>
> So the features are name things that look like  
> http://xml.org/sax/features/validation 
> <http://xml.org/sax/features/validation>, 
> http://apache.org/xml/features/validation/schema 
> <http://apache.org/xml/features/validation/schema>. 
>
> Does this mean that the parser makes an http request to the internet 
> for to get the feature whenever you parse!?
>                


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Fwd: Feature names

Posted by nadav steindler <na...@gmail.com>.
So the features are name things that look like
http://xml.org/sax/features/validation
, http://apache.org/xml/features/validation/schema .

Does this mean that the parser makes an http request to the internet for to
get the feature whenever you parse!?

I was told it may be just a convention for namspacing the features--does
anyone know for sure?

Re: Fwd: Feature names

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
"nadav steindler" <na...@gmail.com> wrote on 12/27/2006 09:57:17 
AM:

> 
> So the features are name things that look like  http://xml.
> org/sax/features/validation , http://apache.
> org/xml/features/validation/schema . 
> 
> Does this mean that the parser makes an http request to the internet
> for to get the feature whenever you parse!?

No. They're just identifiers.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org