[Lift] Re: liftweb xml schema location

2008-12-17 Thread Viktor Klang
Ah, I read I have a client doesn't want an external link* like*
  xmlns:lift=http://liftweb.net/;

If you're only talking about that namespace declaration, it's just as David
says, just a namespace declaration.

/Viktor

On Wed, Dec 17, 2008 at 1:29 PM, David Bernard
david.bernard...@gmail.comwrote:


 It's not an external link nor a link to a schema but the definition of
 a namespace : lift

 On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com wrote:
  Don't I need the xsd or dtd specification?
  On 17/12/2008, at 7:50 PM, Viktor Klang wrote:
 
  Why not just add a hosts entry and redirect that host to an internal
  machine?
 
  On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:
 
  I have a client doesn't want an external link like
  xmlns:lift=http://liftweb.net/;
  Can I store the schema locally? How do I get it?
 
  cheers
  Oliver
 
 
 
 
 
  --
  Viktor Klang
  Senior Systems Analyst
 
 
 
 
 
  
 

 



-- 
Viktor Klang
Senior Systems Analyst

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread David Bernard

It's not an external link nor a link to a schema but the definition of
a namespace : lift

On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com wrote:
 Don't I need the xsd or dtd specification?
 On 17/12/2008, at 7:50 PM, Viktor Klang wrote:

 Why not just add a hosts entry and redirect that host to an internal
 machine?

 On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:

 I have a client doesn't want an external link like
 xmlns:lift=http://liftweb.net/;
 Can I store the schema locally? How do I get it?

 cheers
 Oliver





 --
 Viktor Klang
 Senior Systems Analyst





 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread Marc Boschma
Maybe Oliver is being a bit lose with the language and is looking for  
the /lift/  DTD (Document Type Definition) ?

Marc

On 18/12/2008, at 4:05 AM, Viktor Klang wrote:

 Ah, I read I have a client doesn't want an external link like
   xmlns:lift=http://liftweb.net/;

 If you're only talking about that namespace declaration, it's just  
 as David says, just a namespace declaration.

 /Viktor

 On Wed, Dec 17, 2008 at 1:29 PM, David Bernard david.bernard...@gmail.com 
  wrote:

 It's not an external link nor a link to a schema but the definition of
 a namespace : lift

 On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com  
 wrote:
  Don't I need the xsd or dtd specification?
  On 17/12/2008, at 7:50 PM, Viktor Klang wrote:
 
  Why not just add a hosts entry and redirect that host to an internal
  machine?
 
  On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:
 
  I have a client doesn't want an external link like
  xmlns:lift=http://liftweb.net/;
  Can I store the schema locally? How do I get it?
 
  cheers
  Oliver
 
 
 
 
 
  --
  Viktor Klang
  Senior Systems Analyst
 
 
 
 
 
  
 





 -- 
 Viktor Klang
 Senior Systems Analyst

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread Alex Cruise

Viktor Klang wrote:
 Ah, I read I have a client doesn't want an external link*/ like/*
   xmlns:lift=http://liftweb.net/;

 If you're only talking about that namespace declaration, it's just as 
 David says, just a namespace declaration.
rant
If any software is expecting to find a .dtd or .xsd by doing a GET on a 
namespace URI it has a severe bug.  It happens that many well-known 
public namespace URIs actually *do* return their .dtd or .xsd from their 
namespace URI, but it was probably a mistake to ever set them up that 
way, due to the aforementioned severe bugs that are incredibly widespread. 

The only sane way to figure out where the .dtd or .xsd for a namespace 
URI might be downloaded--if any exists--is to look, in the instance 
document, for either a doctype with a system identifier (for a DTD) or a 
schemaLocation directive (for an XSD).  If you don't see either of 
those, and you absolutely need to validate the document, and there's no 
locally saved copy, throw an exception as early as possible. 

For everyone's sake, PLEASE don't write code that downloads DTDs or 
schemas automatically unless it's doing so in response to a human action 
and is planning to save it locally for later use.
/rant

-0xe1a

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread Oliver

Thanks

This is the information I need

On Wed, Dec 17, 2008 at 11:29 PM, David Bernard
david.bernard...@gmail.com wrote:

 It's not an external link nor a link to a schema but the definition of
 a namespace : lift

 On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com wrote:
 Don't I need the xsd or dtd specification?
 On 17/12/2008, at 7:50 PM, Viktor Klang wrote:

 Why not just add a hosts entry and redirect that host to an internal
 machine?

 On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:

 I have a client doesn't want an external link like
 xmlns:lift=http://liftweb.net/;
 Can I store the schema locally? How do I get it?

 cheers
 Oliver





 --
 Viktor Klang
 Senior Systems Analyst





 


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---